aboutsummaryrefslogtreecommitdiff
path: root/config.toml
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2023-01-14 18:58:19 -0500
committertdro <tdro@noreply.example.com>2023-01-14 18:58:19 -0500
commit52a3cc202f4f58ee9326924b3a0ecbc29af083b1 (patch)
tree703809cc652f9e29be2547dbc612ad7468f6ae86 /config.toml
parent78fc8c3acfd493652e88d91fd9380d9d0e5fd80e (diff)
downloadcanory-52a3cc202f4f58ee9326924b3a0ecbc29af083b1.tar.gz
canory-52a3cc202f4f58ee9326924b3a0ecbc29af083b1.tar.bz2
canory-52a3cc202f4f58ee9326924b3a0ecbc29af083b1.zip
config: Add full markup configuration
Diffstat (limited to 'config.toml')
-rw-r--r--config.toml73
1 files changed, 62 insertions, 11 deletions
diff --git a/config.toml b/config.toml
index e784b3e..1ba7ca2 100644
--- a/config.toml
+++ b/config.toml
@@ -74,17 +74,6 @@ enableRobotsTXT = true
identifier = "feather/git-commit"
weight = 8
-[markup]
-
- [markup.highlight]
- anchorLineNos = true
- codeFences = true
- guessSyntax = true
- lineNos = false
- lineNumbersInTable = false
- noClasses = false
- noHl = false
-
[params]
[params.site]
@@ -302,3 +291,65 @@ enableRobotsTXT = true
changefreq = "weekly"
filename = "sitemap.xml"
priority = 0.5
+
+[markup]
+ defaultMarkdownHandler = "goldmark"
+
+ [markup.asciidocExt]
+ backend = "html5"
+ extensions = []
+ failureLevel = "fatal"
+ noHeaderOrFooter = true
+ preserveTOC = false
+ safeMode = "unsafe"
+ sectionNumbers = false
+ trace = false
+ verbose = false
+ workingFolderCurrent = false
+
+ [markup.asciidocExt.attributes]
+
+ [markup.goldmark]
+
+ [markup.goldmark.extensions]
+ definitionList = true
+ footnote = true
+ linkify = true
+ linkifyProtocol = "https"
+ strikethrough = true
+ table = true
+ taskList = true
+ typographer = true
+
+ [markup.goldmark.parser]
+ autoHeadingID = true
+ autoHeadingIDType = "github"
+ wrapStandAloneImageWithinParagraph = true
+
+ [markup.goldmark.parser.attribute]
+ block = false
+ title = true
+
+ [markup.goldmark.renderer]
+ hardWraps = false
+ unsafe = false
+ xhtml = true
+
+ [markup.highlight]
+ anchorLineNos = true
+ codeFences = true
+ guessSyntax = true
+ hl_Lines = ""
+ hl_inline = false
+ lineAnchors = ""
+ lineNoStart = 1
+ lineNos = false
+ lineNumbersInTable = false
+ noClasses = false
+ noHl = false
+ tabWidth = 4
+
+ [markup.tableOfContents]
+ endLevel = 3
+ ordered = false
+ startLevel = 2