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]