summaryrefslogtreecommitdiffstats
path: root/config/_default/markup.toml
diff options
context:
space:
mode:
authorAnoduck <9925396+anoduck@users.noreply.github.com>2024-09-08 14:54:54 +0000
committerGitHub <noreply@github.com>2024-09-08 14:54:54 +0000
commitd2a0fd14e05ef6b0b9fca454f8996faf86f94204 (patch)
tree242f822be67c179618f1e2aabcea60c172f4f6e0 /config/_default/markup.toml
Initial commit
Diffstat (limited to 'config/_default/markup.toml')
-rw-r--r--config/_default/markup.toml41
1 files changed, 41 insertions, 0 deletions
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