mirror of https://github.com/kc0bfv/ticky_tacky_dark.git

Karl
15.40.2020 ec011355942d1b8612c61664a4e0a37d86339fdd
Dropdown shortcode handle markdown correctly
2 files modified
9 ■■■■ changed files
exampleSite/content/emoji-support.md 7 ●●●● patch | view | raw | blame | history
layouts/shortcodes/dropdown.md 2 ●●● patch | view | raw | blame | history
exampleSite/content/emoji-support.md
@@ -54,5 +54,10 @@
{{< /css.inline >}}
{{< dropdown summary="This demonstrates the dropdown shortcode.  Click this." >}}
    This stuff drops down because you clicked on the text.
* This stuff drops down because you clicked on the text.
* Markdown is supported in here.
```
# Code sections can go in here too
```
{{< /dropdown >}}
layouts/shortcodes/dropdown.md
@@ -1,4 +1,4 @@
<details>
    <summary>{{ .Get "summary" }}</summary>
    {{ .Inner }}
    {{ .Inner | markdownify }}
</details>