diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index 6100a56c..85d63a1a 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -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 = [['\(', '\)']] diff --git a/config/_default/markup.toml b/config/_default/markup.toml index c5449fc3..fccbfcc2 100644 --- a/config/_default/markup.toml +++ b/config/_default/markup.toml @@ -2,8 +2,15 @@ # These settings are required for the theme to function. [goldmark] -[goldmark.renderer] - unsafe = true + [goldmark.renderer] + unsafe = true + + [goldmark.extensions] + [goldmark.extensions.passthrough] + enable = true + [goldmark.extensions.passthrough.delimiters] + block = [['\[', '\]'], ['$$', '$$']] + inline = [['\(', '\)']] [highlight] noClasses = false diff --git a/exampleSite/config/_default/markup.toml b/exampleSite/config/_default/markup.toml index c5449fc3..fccbfcc2 100644 --- a/exampleSite/config/_default/markup.toml +++ b/exampleSite/config/_default/markup.toml @@ -2,8 +2,15 @@ # These settings are required for the theme to function. [goldmark] -[goldmark.renderer] - unsafe = true + [goldmark.renderer] + unsafe = true + + [goldmark.extensions] + [goldmark.extensions.passthrough] + enable = true + [goldmark.extensions.passthrough.delimiters] + block = [['\[', '\]'], ['$$', '$$']] + inline = [['\(', '\)']] [highlight] noClasses = false