mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-22 04:40:40 +00:00
docs: add information that unsafe = true
is required for nested shortcodes (#795)
This commit is contained in:
parent
b6c6735f4c
commit
f26c973a82
@ -26,7 +26,8 @@ enableRobotsTXT = true
|
|||||||
|
|
||||||
[markup]
|
[markup]
|
||||||
[markup.goldmark.renderer]
|
[markup.goldmark.renderer]
|
||||||
# Needed for mermaid shortcode
|
# Needed for mermaid shortcode or when nesting shortcodes (e.g. img within
|
||||||
|
# columns or tabs)
|
||||||
unsafe = true
|
unsafe = true
|
||||||
[markup.tableOfContents]
|
[markup.tableOfContents]
|
||||||
startLevel = 1
|
startLevel = 1
|
||||||
@ -150,7 +151,8 @@ enableRobotsTXT: true
|
|||||||
|
|
||||||
markup:
|
markup:
|
||||||
goldmark:
|
goldmark:
|
||||||
# Needed for mermaid shortcode
|
# Needed for mermaid shortcode or when nesting shortcodes (e.g. img within
|
||||||
|
# columns or tabs)
|
||||||
renderer:
|
renderer:
|
||||||
unsafe: true
|
unsafe: true
|
||||||
tableOfContents:
|
tableOfContents:
|
||||||
|
@ -64,7 +64,8 @@ To prepare your new site environment just a few steps are required:
|
|||||||
# Needed for mermaid shortcodes
|
# Needed for mermaid shortcodes
|
||||||
[markup]
|
[markup]
|
||||||
[markup.goldmark.renderer]
|
[markup.goldmark.renderer]
|
||||||
# Needed for mermaid shortcode
|
# Needed for mermaid shortcode or when nesting shortcodes (e.g. img within
|
||||||
|
# columns or tabs)
|
||||||
unsafe = true
|
unsafe = true
|
||||||
[markup.tableOfContents]
|
[markup.tableOfContents]
|
||||||
startLevel = 1
|
startLevel = 1
|
||||||
|
Loading…
Reference in New Issue
Block a user