diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2020-04-21 22:30:00 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2020-04-21 22:30:00 +0200 |
commit | 66968582ef45a1c3c38f47477096e9417a774ce9 (patch) | |
tree | 4b675790dc85500027d557c2fa24581c26eda744 /exampleSite/content/docs | |
parent | b88d5f6b12fa9ac179ed8f54c00acbd747a6546f (diff) |
#205, Add details shortcode
Diffstat (limited to 'exampleSite/content/docs')
-rw-r--r-- | exampleSite/content/docs/shortcodes/details.md | 22 |
1 files changed, 22 insertions, 0 deletions
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 +{{</* details "Title" [open] */>}} +## Markdown content +Lorem markdownum insigne... +{{</* /details */>}} +``` +```tpl +{{</* details title="Title" open=true */>}} +## Markdown content +Lorem markdownum insigne... +{{</* /details */>}} +``` + +{{< details "Title" open >}} +## Markdown content +Lorem markdownum insigne... +{{< /details >}} |