docs: add information that unsafe = true
is required for nested shortcodes (#795)
This commit is contained in:
parent
b6c6735f4c
commit
f26c973a82
2 changed files with 6 additions and 3 deletions
|
@ -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 a new issue