b7f9c8cb0f
* details shortcode: add example of both alternatives readme: mention steps shortcode, move katex alpha order steps: use 1. instead of fixed numbers * roll back steps.md * positional vs argument. bonus typo fix
706 B
706 B
Details
Details shortcode is a helper for details html5 element. To collapse the details either omit the open
keyword when using positional arguments or set open=false when using parameters.
Example with positional arguments
{{%/* details "Title" [open] */%}}
## Markdown content
Lorem markdownum insigne...
{{%/* /details */%}}
{{% details "Title" open %}}
Markdown content
Lorem markdownum insigne... {{% /details %}}
Example with parameters
{{%/* details title="Title" open=true */%}}
## Markdown content
Lorem markdownum insigne...
{{%/* /details */%}}
{{% details title="Title" open=true %}}
Markdown content
Lorem markdownum insigne... {{% /details %}}