From c7f93dc789da16ff03fa37b1c14ccc03c80e6b0a Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Tue, 8 Oct 2019 23:55:34 +0200 Subject: Update example file structure, give each shortcode own file --- exampleSite/content/docs/shortcodes/expand.md | 35 +++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 exampleSite/content/docs/shortcodes/expand.md (limited to 'exampleSite/content/docs/shortcodes/expand.md') diff --git a/exampleSite/content/docs/shortcodes/expand.md b/exampleSite/content/docs/shortcodes/expand.md new file mode 100644 index 0000000..c62520f --- /dev/null +++ b/exampleSite/content/docs/shortcodes/expand.md @@ -0,0 +1,35 @@ +# Expand + +Expand shortcode can help to decrease clutter on screen by hiding part of text. Expand content by clicking on it. + +## Example +### Default + +```tpl +{{}} +## Markdown content +Lorem markdownum insigne... +{{}} +``` + +{{< expand >}} +## Markdown content +Lorem markdownum insigne... +{{< /expand >}} + +### With Custom Label + +```tpl +{{}} +## Markdown content +Lorem markdownum insigne... +{{}} +``` + +{{< 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 >}} -- cgit v1.2.3