diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-09-05 23:03:08 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-09-05 23:03:08 +0200 |
commit | 9a58945b8bd0dbaba8f22a38603eafac23e70185 (patch) | |
tree | fe7be7ccb3a78b48b4cbb0f630f2d59fd52f07c5 /exampleSite/content/docs/shortcodes.md | |
parent | ae3c5017c4b7cae25e6107a31a37c2fdb2dbab4c (diff) |
Reorganize files structure to be similar to menu bundle
Diffstat (limited to 'exampleSite/content/docs/shortcodes.md')
-rw-r--r-- | exampleSite/content/docs/shortcodes.md | 195 |
1 files changed, 0 insertions, 195 deletions
diff --git a/exampleSite/content/docs/shortcodes.md b/exampleSite/content/docs/shortcodes.md deleted file mode 100644 index 2844acb..0000000 --- a/exampleSite/content/docs/shortcodes.md +++ /dev/null @@ -1,195 +0,0 @@ -# Shortcodes - -## Expand shortcode - -### Default - -```tpl -{{</* expand */>}} -## Markdown content -Lorem markdownum insigne... -{{</* /expand */>}} -``` - -{{< expand >}} -## Markdown content -Lorem markdownum insigne... -{{< /expand >}} - -### With Custom Label - -```tpl -{{</* expand "Custom Label" "..." */>}} -## Markdown content -Lorem markdownum insigne... -{{</* /expand */>}} -``` - -{{< expand "Custom Label" "..." >}} -## Markdown content -Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat -stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa -protulit, sed sed aere valvis inhaesuro Pallas animam: qui _quid_, ignes. -Miseratus fonte Ditis conubia. -{{< /expand >}} - -## Buttons - -```tpl -{{</* button relref="/" [class="..."] */>}}Get Home{{</* /button */>}} -{{</* button href="https://github.com/alex-shpak/hugo-book" */>}}Contribute{{</* /button */>}} -``` - -{{< button relref="/" >}}Get Home{{< /button >}} -{{< button href="https://github.com/alex-shpak/hugo-book" >}}Contribute{{< /button >}} - -## Tabs - -```tpl -{{</* tabs "uniqueid" */>}} -{{</* tab "MacOS" */>}} # MacOS Content {{</* /tab */>}} -{{</* tab "Linux" */>}} # Linux Content {{</* /tab */>}} -{{</* tab "Windows" */>}} # Windows Content {{</* /tab */>}} -{{</* /tabs */>}} -``` - -{{< tabs "uniqueid" >}} -{{< tab "MacOS" >}} -# MacOS - -This is tab **MacOS** content. - -Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat -stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa -protulit, sed sed aere valvis inhaesuro Pallas animam: qui _quid_, ignes. -Miseratus fonte Ditis conubia. -{{< /tab >}} - -{{< tab "Linux" >}} - -# Linux - -This is tab **Linux** content. - -Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat -stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa -protulit, sed sed aere valvis inhaesuro Pallas animam: qui _quid_, ignes. -Miseratus fonte Ditis conubia. -{{< /tab >}} - -{{< tab "Windows" >}} - -# Windows - -This is tab **Windows** content. - -Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat -stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa -protulit, sed sed aere valvis inhaesuro Pallas animam: qui _quid_, ignes. -Miseratus fonte Ditis conubia. -{{< /tab >}} -{{< /tabs >}} - -## Columns - -```html -{{</* columns */>}} <!-- begin columns block --> -# Left Content -Lorem markdownum insigne... - -<---> <!-- magic sparator, between columns --> - -# Mid Content -Lorem markdownum insigne... - -<---> <!-- magic sparator, between columns --> - -# Right Content -Lorem markdownum insigne... -{{</* /columns */>}} -``` - -{{< columns >}} -## Left Content -Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat -stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa -protulit, sed sed aere valvis inhaesuro Pallas animam: qui _quid_, ignes. -Miseratus fonte Ditis conubia. - -<---> - -## Mid Content -Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat -stringit, frustra Saturnius uteroque inter! - -<---> - -## Right Content -Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat -stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa -protulit, sed sed aere valvis inhaesuro Pallas animam: qui _quid_, ignes. -Miseratus fonte Ditis conubia. -{{< /columns >}} - - -## Mermaid Chart - -{{< columns >}} -```tpl -{{</* mermaid [class="text-center"]*/>}} -sequenceDiagram - Alice->>Bob: Hello Bob, how are you? - alt is sick - Bob->>Alice: Not so good :( - else is well - Bob->>Alice: Feeling fresh like a daisy - end - opt Extra response - Bob->>Alice: Thanks for asking - end -{{</* /mermaid */>}} -``` - -<---> - -{{< mermaid >}} -sequenceDiagram - Alice->>Bob: Hello Bob, how are you? - alt is sick - Bob->>Alice: Not so good :( - else is well - Bob->>Alice: Feeling fresh like a daisy - end - opt Extra response - Bob->>Alice: Thanks for asking - end -{{< /mermaid >}} - -{{< /columns >}} - - -## KaTeX - -{{< columns >}} - -```latex -{{</* katex */>}} -x = \begin{cases} - a &\text{if } b \\ - c &\text{if } d -\end{cases} -{{</* /katex */>}} -``` - -<---> - -{{< katex >}} -x = \begin{cases} - a &\text{if } b \\ - c &\text{if } d -\end{cases} -{{< /katex >}} - -{{< /columns >}} - - |