aboutsummaryrefslogtreecommitdiff
path: root/exampleSite/content
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite/content')
-rw-r--r--exampleSite/content/docs/shortcodes/details.md22
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 >}}