1
0
Fork 0
hugo/docs/config/_default/markup.toml

41 lines
690 B
TOML

defaultMarkdownHandler = "goldmark"
[goldmark.extensions]
definitionList = true
footnote = true
linkify = true
strikethrough = true
table = true
taskList = true
typographer = true
[goldmark.extensions.passthrough]
enable = true
[goldmark.extensions.passthrough.delimiters]
block = [['\[', '\]'], ['$$', '$$']]
inline = [['\(', '\)']]
[goldmark.parser]
autoHeadingID = true
autoHeadingIDType = "github"
[goldmark.parser.attribute]
block = true
title = true
[goldmark.renderer]
hardWraps = false
unsafe = false
xhtml = false
[highlight]
style = "trac"
lineNumbersInTable = true
noClasses = false
[tableOfContents]
endLevel = 2
ordered = false
startLevel = 2