diff options
author | digitalcraftsman <digitalcraftsman@protonmail.com> | 2017-05-19 22:45:39 +0300 |
---|---|---|
committer | digitalcraftsman <digitalcraftsman@protonmail.com> | 2017-05-19 22:45:39 +0300 |
commit | 52031082ef5cf8da6132d79bf6bfca2eb7a583e7 (patch) | |
tree | e74cb2bfc886b6bc3aaa2a3858da03807b176833 /exampleSite | |
parent | d38e4be45711c49174079fe57c2af959891e2cde (diff) |
Deprecate JSFiddle shortcode
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/content/post/introducing-icarus-and-its-features.md | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/exampleSite/content/post/introducing-icarus-and-its-features.md b/exampleSite/content/post/introducing-icarus-and-its-features.md index c45386b..c8a19b2 100644 --- a/exampleSite/content/post/introducing-icarus-and-its-features.md +++ b/exampleSite/content/post/introducing-icarus-and-its-features.md @@ -136,13 +136,10 @@ $$ z = r \cdot (\sin{\phi} + \cos{\phi} \cdot i) $$ You can also print formulas inline: $a^2 + b^2 = c^2$. In this case wrap the formula only once with `$`. -## Shortcodes -Last but not least I included some useful [shortcodes](http://gohugo.io/extras/shortcodes/) to make your life easier. +### Gallery shortcode -### Gallery - -This way you can include a gallery into your post. Copy the code below into your content file and enter the relative paths to your images. +This way you can easily include a gallery into your page. Copy the code below into your content file and enter the relative paths to your images. {{</* gallery "/banners/placeholder.png" @@ -155,25 +152,6 @@ This way you can include a gallery into your post. Copy the code below into your {{< gallery "/banners/placeholder.png" "/banners/placeholder.png" "/banners/placeholder.png" >}} -### JSFiddle - -It works the same with JSFiddle examples you want to showcase. The parameter `id` consists of the username and id of the example. - - {{</* jsfiddle id="zalun/NmudS" */>}} - -<p></p> - -{{< jsfiddle id="zalun/NmudS" >}} - -As descibed in the [docs of JSFiddle](http://doc.jsfiddle.net/use/embedding.html), you can define which tabs will be shown. Enter the tabs you want to see separated by a comma in the `tabs` parameter. - - {{</* jsfiddle id="zalun/NmudS" tabs="html,result" */>}} - -Do you see the difference? - -{{< jsfiddle id="zalun/NmudS" tabs="html,result" >}} - - ## Nearly finished In order to see your site in action, run Hugo's built-in local server. |