Document Goldmark passthrough configuration

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
pull/2226/head
Johannes Marbach 1 month ago committed by GitHub
parent cea4844b22
commit 026f015ebc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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]

Loading…
Cancel
Save