diff options
Diffstat (limited to 'exampleSite/content/post/shortcodes.md')
-rw-r--r-- | exampleSite/content/post/shortcodes.md | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/exampleSite/content/post/shortcodes.md b/exampleSite/content/post/shortcodes.md index 46f31f5..37fe8e0 100644 --- a/exampleSite/content/post/shortcodes.md +++ b/exampleSite/content/post/shortcodes.md @@ -1,7 +1,7 @@ +++ title = "Shortcodes" description = "A description of theme-specific shortcodes" -date = "2019-02-28" +date = "2021-06-21" author = "Hugo Authors" +++ @@ -10,16 +10,12 @@ author = "Hugo Authors" [LaTeX.css](https://latex.vercel.app/), which HugoTeX is using, defines syntax for sidenotes. However, as it is a little verbose to write, we provide a Hugo shortcode for that: ```md -# The content - -A sentence, which deserves a sidenote.{{% sidenote %}}The content of the note.{{% /sidenote %}}. +A sentence deserving a sidenote.{{%/* sidenote */%}}The note itself.{{%/* /sidenote */%}}. ``` Will render into --- -# The content - -A sentence, which deserves a sidenote. {% sidenote %}} The content of the note. {{% /sidenote %}}. +A sentence deserving a sidenote.{{% sidenote %}}The note itself.{{% /sidenote %}}. ---
\ No newline at end of file |