hugo-book/exampleSite/content.en/docs/shortcodes
Vadim (vadcx) 6c86dcfdc6
Docs: Change tabs shortcode example to permit unsafe=false (#689)
The syntax of `{{% code %}}` only expects Markdown inside. That's why it
triggers unsafe warning, if used as a shortcode template.

Instead the only the top table shortcode should be used as
`{{< tabs >}}` to include the HTML, while the user may use only
`{{% tab "Name" %}}` inside and be happily restricted to Markdown.

https://gohugo.io/methods/page/rendershortcodes/#shortcode-notation
https://github.com/InfosecForActivistsTeam/infosec-activists/pull/45
2025-04-07 15:17:19 +02:00
..
section Deprecate section shortcode 2024-10-08 15:50:46 +02:00
_index.md #352: move english content to content.en 2022-11-02 23:28:30 +01:00
buttons.md Breaking change: switch to '{{%' decorators in shortcodes to better support shortcode-in-shortcode 2024-10-04 11:29:44 +02:00
columns.md #422, add support for column ratios in shortcode 2024-10-04 13:36:14 +02:00
details.md Breaking change: switch to '{{%' decorators in shortcodes to better support shortcode-in-shortcode 2024-10-04 11:29:44 +02:00
hints.md Breaking change: switch to '{{%' decorators in shortcodes to better support shortcode-in-shortcode 2024-10-04 11:29:44 +02:00
katex.md Fix syntax in Katex markdown file 2024-10-04 13:41:30 +02:00
mermaid.md #422, add support for column ratios in shortcode 2024-10-04 13:36:14 +02:00
tabs.md Docs: Change tabs shortcode example to permit unsafe=false (#689) 2025-04-07 15:17:19 +02:00