Skip to content

Commit 24d0502

Browse files
Configure double dollar math delimiters as inline in Goldmark passthrough
1 parent d792efb commit 24d0502

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎config/_default/hugo.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ unsafe = true
4444
enable = true
4545

4646
[markup.goldmark.extensions.passthrough.delimiters]
47-
block = [["$$", "$$"], ["\\[", "\\]"]]
48-
inline = [["$", "$"], ["\\(", "\\)"]]
47+
block = [["\\[", "\\]"]]
48+
inline = [["$$", "$$"], ["$", "$"], ["\\(", "\\)"]]
4949

5050
[markup.highlight]
5151
noClasses = false

0 commit comments

Comments
 (0)