You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# -------------------------------------------------------------------------------------
|
|
|
|
# Markup related configuration in Hugo
|
|
|
|
# See: https://gohugo.io/getting-started/configuration-markup/
|
|
|
|
# -------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
# Syntax Highlighting (https://gohugo.io/content-management/syntax-highlighting)
|
|
|
|
[highlight]
|
|
|
|
########## necessary configurations ##########
|
|
|
|
# https://github.com/Lruihao/FixIt/issues/43
|
|
|
|
codeFences = true
|
|
|
|
lineNos = true
|
|
|
|
lineNumbersInTable = true
|
|
|
|
noClasses = false
|
|
|
|
########## necessary configurations ##########
|
|
|
|
guessSyntax = true
|
|
|
|
|
|
|
|
# Goldmark is from Hugo 0.60 the default library used for Markdown
|
|
|
|
[goldmark]
|
|
|
|
[goldmark.extensions]
|
|
|
|
definitionList = true
|
|
|
|
footnote = true
|
|
|
|
linkify = true
|
|
|
|
strikethrough = true
|
|
|
|
table = true
|
|
|
|
taskList = true
|
|
|
|
typographer = true
|
|
|
|
[goldmark.parser]
|
|
|
|
autoHeadingID = true
|
|
|
|
autoHeadingIDType = "github"
|
|
|
|
wrapStandAloneImageWithinParagraph = true
|
|
|
|
[goldmark.parser.attribute]
|
|
|
|
block = true
|
|
|
|
title = true
|
|
|
|
[goldmark.renderer]
|
|
|
|
# By default, Goldmark ignores newlines within a paragraph. Set to true to render newlines as <br> elements.
|
|
|
|
hardWraps = false
|
|
|
|
# whether to use HTML tags directly in the document
|
|
|
|
unsafe = true
|
|
|
|
|
|
|
|
# Table Of Contents settings
|
|
|
|
[tableOfContents]
|
|
|
|
ordered = false
|
|
|
|
startLevel = 2
|
|
|
|
endLevel = 6
|