From c80bd79dcd8a4bea3a15061dc6e17a46d374d485 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Wed, 22 May 2019 16:17:55 +0200 Subject: #39, Add multi-column shortcode --- exampleSite/content/docs/shortcodes.md | 62 +++++++++++++++++++++++++++++++--- 1 file changed, 57 insertions(+), 5 deletions(-) (limited to 'exampleSite/content/docs') 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 +{{}} ## Markdown content +Lorem markdownum insigne... +{{}} +``` -Some text +{{< expand >}} +## Markdown content +Lorem markdownum insigne... {{< /expand >}} ## Custom label -{{< expand "Custom Label" "..." >}} +```tpl +{{}} ## Markdown content +Lorem markdownum insigne... +{{}} +``` -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 +{{}} +{{}} # MacOS Content {{}} +{{}} # Linux Content {{}} +{{}} # Windows Content {{}} +{{}} +``` + {{< 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 +{{}} +# Left Content +... +{{}} +# Right Content +... +{{}} +``` + +{{< 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 >}} -- cgit v1.2.3