From 073191903c305db0c977b8d3e01b96c80805ab3e Mon Sep 17 00:00:00 2001 From: Richard-Qin-X Date: Wed, 9 Sep 2026 14:05:02 +0800 Subject: Add build-time MathML rendering --- hugo.toml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'hugo.toml') diff --git a/hugo.toml b/hugo.toml index 0873861..c266924 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,6 +1,6 @@ baseURL = "http://localhost:1314/" title = "RICHARD QIN'S HOME PAGE" -languageCode = "en" +locale = "en" defaultContentLanguage = "en" timeZone = "Asia/Shanghai" uglyURLs = true @@ -31,6 +31,13 @@ enableRobotsTXT = false baseName = "rss" [markup] + [markup.goldmark] + [markup.goldmark.extensions] + [markup.goldmark.extensions.passthrough] + enable = true + [markup.goldmark.extensions.passthrough.delimiters] + block = [['$$', '$$']] + inline = [['$', '$']] [markup.highlight] codeFences = false guessSyntax = false -- cgit v1.2.3