From 66968582ef45a1c3c38f47477096e9417a774ce9 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Tue, 21 Apr 2020 22:30:00 +0200 Subject: #205, Add details shortcode --- exampleSite/content/docs/shortcodes/details.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 exampleSite/content/docs/shortcodes/details.md (limited to 'exampleSite/content/docs/shortcodes') diff --git a/exampleSite/content/docs/shortcodes/details.md b/exampleSite/content/docs/shortcodes/details.md new file mode 100644 index 0000000..248bafd --- /dev/null +++ b/exampleSite/content/docs/shortcodes/details.md @@ -0,0 +1,22 @@ +# Details + +Details shortcode is a helper for `details` html5 element. It is going to replace `expand` shortcode. + +## Example +```tpl +{{}} +## Markdown content +Lorem markdownum insigne... +{{}} +``` +```tpl +{{}} +## Markdown content +Lorem markdownum insigne... +{{}} +``` + +{{< details "Title" open >}} +## Markdown content +Lorem markdownum insigne... +{{< /details >}} -- cgit v1.2.3