fix LaTeX passthrough

This commit is contained in:
JamesFlare1212
2025-05-04 15:35:08 -04:00
parent 68ffcf4956
commit 6a996f1c09
5 changed files with 177 additions and 172 deletions

View File

@@ -9,7 +9,7 @@
# Hugo Configuration
# See: https://gohugo.io/getting-started/configuration/
# -------------------------------------------------------------------------------------
ignoreLogs = ['error-get-gh-repo', 'error-get-remote-json']
#ignoreLogs = ['error-get-gh-repo', 'error-get-remote-json']
# website title
title = "FlareBlog"
# Hostname (and path) to the root
@@ -114,6 +114,11 @@ enableEmoji = true
table = true
taskList = true
typographer = true
[markup.goldmark.extensions.passthrough]
enable = true
[markup.goldmark.extensions.passthrough.delimiters]
block = [['\[', '\]'], ['$$', '$$']]
inline = [['\(', '\)'], ['$', '$']]
# https://gohugo.io/getting-started/configuration-markup/#extras
[markup.goldmark.extensions.extras]
[markup.goldmark.extensions.extras.delete]