From 026f015ebc6bd17553694ac0bd8bb24b196cfab0 Mon Sep 17 00:00:00 2001 From: Johannes Marbach Date: Wed, 29 Oct 2025 13:56:29 +0100 Subject: [PATCH] Document Goldmark passthrough configuration Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> --- config/_default/hugo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index 3fcbf75c..4b817cd0 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -44,6 +44,9 @@ description = "Home of the Matrix specification for decentralised communication" # Enables us to render raw HTML unsafe = true [markup.goldmark.extensions] + # Tell Goldmark to pass delimited blocks through the `render-passthrough` render hook. + # This is used to render the maths in the Olm spec. + # See: https://gohugo.io/functions/transform/tomath/#step-1. [markup.goldmark.extensions.passthrough] enable = true [markup.goldmark.extensions.passthrough.delimiters]