diff options
Diffstat (limited to 'exampleSite/content/docs')
-rw-r--r-- | exampleSite/content/docs/shortcodes.md | 62 |
1 files changed, 57 insertions, 5 deletions
diff --git a/exampleSite/content/docs/shortcodes.md b/exampleSite/content/docs/shortcodes.md index f610a6d..ff46e16 100644 --- a/exampleSite/content/docs/shortcodes.md +++ b/exampleSite/content/docs/shortcodes.md @@ -2,25 +2,47 @@ ## Default -{{< expand >}} +```tpl +{{</* expand */>}} ## Markdown content +Lorem markdownum insigne... +{{</* /expand */>}} +``` -Some text +{{< expand >}} +## Markdown content +Lorem markdownum insigne... {{< /expand >}} ## Custom label -{{< expand "Custom Label" "..." >}} +```tpl +{{</* expand "Custom Label" "..." */>}} ## Markdown content +Lorem markdownum insigne... +{{</* /expand */>}} +``` -Some text +{{< 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 >}} # 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. @@ -55,3 +77,33 @@ protulit, sed sed aere valvis inhaesuro Pallas animam: qui _quid_, ignes. Miseratus fonte Ditis conubia. {{< /tab >}} {{< /tabs >}} + +# Multi-Column shortcode + +```tpl +{{</* column */>}} <!-- begin columns block --> +# Left Content +... +{{</* column /*/>}} <!-- columns separator --> +# Right Content +... +{{</* /column */>}} <!-- end columns block --> +``` + +{{< column >}} +# 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. +{{< column />}} +# Mid Content +Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat +stringit, frustra Saturnius uteroque inter! +{{< column />}} +# 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. +{{< /column >}} |