refactor: separate markup config
This commit is contained in:
23
config/_default/markup.toml
Normal file
23
config/_default/markup.toml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
[highlight]
|
||||||
|
anchorLineNos = false
|
||||||
|
codeFences = true
|
||||||
|
guessSyntax = true
|
||||||
|
hl_Lines = ''
|
||||||
|
hl_inline = false
|
||||||
|
lineAnchors = ''
|
||||||
|
lineNoStart = 1
|
||||||
|
lineNos = true
|
||||||
|
lineNumbersInTable = true
|
||||||
|
noClasses = false
|
||||||
|
tabWidth = 4
|
||||||
|
wrapperClass = 'highlight'
|
||||||
|
|
||||||
|
[goldmark.parser]
|
||||||
|
wrapStandAloneImageWithinParagraph = false
|
||||||
|
|
||||||
|
[goldmark.parser.attribute]
|
||||||
|
block = true
|
||||||
|
title = true
|
||||||
|
|
||||||
|
[goldmark.renderer]
|
||||||
|
unsafe = true
|
23
hugo.toml
23
hugo.toml
@ -10,29 +10,6 @@ defaultContentLanguageInSubdir = false
|
|||||||
[outputs]
|
[outputs]
|
||||||
home = ["HTML", "RSS", "JSON"]
|
home = ["HTML", "RSS", "JSON"]
|
||||||
|
|
||||||
[markup.highlight]
|
|
||||||
anchorLineNos = false
|
|
||||||
codeFences = true
|
|
||||||
guessSyntax = true
|
|
||||||
hl_Lines = ''
|
|
||||||
hl_inline = false
|
|
||||||
lineAnchors = ''
|
|
||||||
lineNoStart = 1
|
|
||||||
lineNos = true
|
|
||||||
lineNumbersInTable = true
|
|
||||||
noClasses = false
|
|
||||||
tabWidth = 4
|
|
||||||
wrapperClass = 'highlight'
|
|
||||||
|
|
||||||
[markup.goldmark.parser]
|
|
||||||
wrapStandAloneImageWithinParagraph = false
|
|
||||||
|
|
||||||
[markup.goldmark.parser.attribute]
|
|
||||||
block = true
|
|
||||||
title = true
|
|
||||||
[markup.goldmark.renderer]
|
|
||||||
unsafe = true
|
|
||||||
|
|
||||||
[taxonomies]
|
[taxonomies]
|
||||||
category = "categories"
|
category = "categories"
|
||||||
tag = "tags"
|
tag = "tags"
|
||||||
|
Reference in New Issue
Block a user