Commit Graph

6 Commits

Author SHA1 Message Date
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
Alex Shpak
60f4c03b8b #672: Add tabs unique ID for nested tabs, uses .Ordinal by default 2025-01-30 22:03:07 +01:00
Alex Shpak
a5fdf88017 let numbered plugin count nested headings 2024-10-04 15:35:02 +02:00
Alex Shpak
925dbd3b9f Breaking change: switch to '{{%' decorators in shortcodes to better support shortcode-in-shortcode 2024-10-04 11:29:44 +02:00
Gram
460d44479b
Auto-generate ID for tabs (#649) 2024-10-01 22:14:16 +02:00
Alex Shpak
9013a1f457 #352: move english content to content.en 2022-11-02 23:28:30 +01:00