diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-06-11 13:40:50 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-06-11 13:41:08 +0200 |
commit | c9d979514c009e8b28d99cff2614b92019ccd5c8 (patch) | |
tree | 0d32b30207415e2182926724e9b37de4bebdee4a /exampleSite/content/docs/shortcodes.md | |
parent | 2047968370a4bc61037e0d73f2ce76acb1d7774a (diff) |
Add custom class support for mermaid and button shortcodes
Diffstat (limited to 'exampleSite/content/docs/shortcodes.md')
-rw-r--r-- | exampleSite/content/docs/shortcodes.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/exampleSite/content/docs/shortcodes.md b/exampleSite/content/docs/shortcodes.md index cf854e8..1987426 100644 --- a/exampleSite/content/docs/shortcodes.md +++ b/exampleSite/content/docs/shortcodes.md @@ -34,7 +34,7 @@ Miseratus fonte Ditis conubia. # Buttons ```tpl -{{</* button relref="/" */>}}Get Home{{</* /button */>}} +{{</* button relref="/" [class="..."] */>}}Get Home{{</* /button */>}} {{</* button href="https://github.com/alex-shpak/hugo-book" */>}}Contribute{{</* /button */>}} ``` @@ -134,7 +134,7 @@ Miseratus fonte Ditis conubia. {{< columns >}} ```tpl -{{</* mermaid */>}} +{{</* mermaid [class="text-center"]*/>}} sequenceDiagram Alice->>Bob: Hello Bob, how are you? alt is sick |