diff options
author | eeriksp <eerik.sven@gmail.com> | 2021-06-18 14:10:43 +0300 |
---|---|---|
committer | eeriksp <eerik.sven@gmail.com> | 2021-06-18 14:10:43 +0300 |
commit | c30bafa4f69be630469a9158e181309f60155b83 (patch) | |
tree | 88953edc3c023c725a74efd12d47925b1be07499 | |
parent | 49cab47b853a36e9376ae04a79d6186893fc3be3 (diff) |
Working on documentation
-rw-r--r-- | exampleSite/content/post/shortcodes.md | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/exampleSite/content/post/shortcodes.md b/exampleSite/content/post/shortcodes.md new file mode 100644 index 0000000..46f31f5 --- /dev/null +++ b/exampleSite/content/post/shortcodes.md @@ -0,0 +1,25 @@ ++++ +title = "Shortcodes" +description = "A description of theme-specific shortcodes" +date = "2019-02-28" +author = "Hugo Authors" ++++ + +## Sidenotes + +[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 %}}. +``` + +Will render into + +--- +# The content + +A sentence, which deserves a sidenote. {% sidenote %}} The content of the note. {{% /sidenote %}}. + +---
\ No newline at end of file |