🔧 chore: move markup config to markup.toml

This commit is contained in:
ZhenShuo Leo
2025-05-29 01:46:50 +08:00
parent 0b06a64139
commit e26d1c7e74
3 changed files with 18 additions and 13 deletions

View File

@@ -67,12 +67,3 @@ enableEmoji = true
name = 'fragmentrefs' name = 'fragmentrefs'
type = 'fragments' type = 'fragments'
weight = 10 weight = 10
[markup]
[markup.goldmark]
[markup.goldmark.extensions]
[markup.goldmark.extensions.passthrough]
enable = true
[markup.goldmark.extensions.passthrough.delimiters]
block = [['\[', '\]'], ['$$', '$$']]
inline = [['\(', '\)']]

View File

@@ -5,6 +5,13 @@
[goldmark.renderer] [goldmark.renderer]
unsafe = true unsafe = true
[goldmark.extensions]
[goldmark.extensions.passthrough]
enable = true
[goldmark.extensions.passthrough.delimiters]
block = [['\[', '\]'], ['$$', '$$']]
inline = [['\(', '\)']]
[highlight] [highlight]
noClasses = false noClasses = false

View File

@@ -5,6 +5,13 @@
[goldmark.renderer] [goldmark.renderer]
unsafe = true unsafe = true
[goldmark.extensions]
[goldmark.extensions.passthrough]
enable = true
[goldmark.extensions.passthrough.delimiters]
block = [['\[', '\]'], ['$$', '$$']]
inline = [['\(', '\)']]
[highlight] [highlight]
noClasses = false noClasses = false