mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-02-20 13:03:42 +01:00
Document Goldmark passthrough configuration
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
This commit is contained in:
parent
cea4844b22
commit
026f015ebc
|
|
@ -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…
Reference in a new issue