Commit Graph

13 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 2b7a0e87c3 Deprecate section shortcode 2024-10-08 15:50:46 +02:00
Alex Shpak a5fdf88017 let numbered plugin count nested headings 2024-10-04 15:35:02 +02:00
Alex Shpak d008a21049 Fix syntax in Katex markdown file 2024-10-04 13:41:30 +02:00
Alex Shpak 9cc0b0225d #422, add support for column ratios in shortcode 2024-10-04 13:36:14 +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
Alex Shpak 55c4c45c74 Remove 'expand' shortcode, use 'details' instead 2024-10-01 23:28:57 +02:00
Gram 460d44479b
Auto-generate ID for tabs (#649) 2024-10-01 22:14:16 +02:00
Alex Shpak a111041867 #583, fix katex and mermaid examples with raw html 2024-02-17 18:57:02 +01:00
Andreas Deininger 5e15ddb4f4
Fix typos (#575) 2024-01-10 12:40:24 +01:00
Alex Shpak 3f1bcccbfb #543, Add summary param for section shortcode 2023-08-08 13:39:20 +02:00
Alex Shpak 9013a1f457 #352: move english content to content.en 2022-11-02 23:28:30 +01:00