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.goldmark.renderer]
|
||||
# Needed for mermaid shortcode
|
||||
# Needed for mermaid shortcode or when nesting shortcodes (e.g. img within
|
||||
# columns or tabs)
|
||||
unsafe = true
|
||||
[markup.tableOfContents]
|
||||
startLevel = 1
|
||||
|
@ -150,7 +151,8 @@ enableRobotsTXT: true
|
|||
|
||||
markup:
|
||||
goldmark:
|
||||
# Needed for mermaid shortcode
|
||||
# Needed for mermaid shortcode or when nesting shortcodes (e.g. img within
|
||||
# columns or tabs)
|
||||
renderer:
|
||||
unsafe: true
|
||||
tableOfContents:
|
||||
|
|
|
@ -64,7 +64,8 @@ To prepare your new site environment just a few steps are required:
|
|||
# Needed for mermaid shortcodes
|
||||
[markup]
|
||||
[markup.goldmark.renderer]
|
||||
# Needed for mermaid shortcode
|
||||
# Needed for mermaid shortcode or when nesting shortcodes (e.g. img within
|
||||
# columns or tabs)
|
||||
unsafe = true
|
||||
[markup.tableOfContents]
|
||||
startLevel = 1
|
||||
|
|
Loading…
Reference in a new issue