mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-21 20:30:39 +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.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 New Issue
Block a user