From d2a0fd14e05ef6b0b9fca454f8996faf86f94204 Mon Sep 17 00:00:00 2001 From: Anoduck <9925396+anoduck@users.noreply.github.com> Date: Sun, 8 Sep 2024 14:54:54 +0000 Subject: Initial commit --- config/_default/markup.toml | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 config/_default/markup.toml (limited to 'config/_default/markup.toml') diff --git a/config/_default/markup.toml b/config/_default/markup.toml new file mode 100644 index 0000000..aa15cb0 --- /dev/null +++ b/config/_default/markup.toml @@ -0,0 +1,41 @@ +defaultMarkdownHandler = "goldmark" + +[highlight] + anchorLineNos = false + codeFences = true + guessSyntax = true + hl_Lines = "" + lineAnchors = "" + lineNoStart = 1 + lineNos = false + lineNumbersInTable = false + noClasses = false + tabWidth = 2 + ## Update the 'create:syntax' command in package.json to modify the style + ## The first two lines have been modified to remove the background color + # style = "monokailight" + +[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' + wrapStandAloneImageWithinParagraph = false + [goldmark.parser.attribute] + block = true + [goldmark.renderer] + hardWraps = false + unsafe = false + xhtml = false \ No newline at end of file -- cgit v1.2.3