From 52a3cc202f4f58ee9326924b3a0ecbc29af083b1 Mon Sep 17 00:00:00 2001 From: tdro Date: Sat, 14 Jan 2023 18:58:19 -0500 Subject: config: Add full markup configuration --- config.toml | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 62 insertions(+), 11 deletions(-) (limited to 'config.toml') 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 -- cgit v1.2.3