🔧 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'
type = 'fragments'
weight = 10
[markup]
[markup.goldmark]
[markup.goldmark.extensions]
[markup.goldmark.extensions.passthrough]
enable = true
[markup.goldmark.extensions.passthrough.delimiters]
block = [['\[', '\]'], ['$$', '$$']]
inline = [['\(', '\)']]

View File

@@ -2,9 +2,16 @@
# These settings are required for the theme to function.
[goldmark]
[goldmark.renderer]
[goldmark.renderer]
unsafe = true
[goldmark.extensions]
[goldmark.extensions.passthrough]
enable = true
[goldmark.extensions.passthrough.delimiters]
block = [['\[', '\]'], ['$$', '$$']]
inline = [['\(', '\)']]
[highlight]
noClasses = false

View File

@@ -2,9 +2,16 @@
# These settings are required for the theme to function.
[goldmark]
[goldmark.renderer]
[goldmark.renderer]
unsafe = true
[goldmark.extensions]
[goldmark.extensions.passthrough]
enable = true
[goldmark.extensions.passthrough.delimiters]
block = [['\[', '\]'], ['$$', '$$']]
inline = [['\(', '\)']]
[highlight]
noClasses = false