diff --git a/layouts/_default/_markup/render-codeblock-math.html b/layouts/_default/_markup/render-codeblock-math.html index b484334def..149a1ae188 100644 --- a/layouts/_default/_markup/render-codeblock-math.html +++ b/layouts/_default/_markup/render-codeblock-math.html @@ -1,3 +1,3 @@ -

```math +

$$ {{ .Inner | safeHTML }} -```

+$$

diff --git a/userguide/content/en/docs/Adding content/diagrams-and-formulae/index.md b/userguide/content/en/docs/Adding content/diagrams-and-formulae/index.md index c4b1a09f51..ffa18033a2 100644 --- a/userguide/content/en/docs/Adding content/diagrams-and-formulae/index.md +++ b/userguide/content/en/docs/Adding content/diagrams-and-formulae/index.md @@ -93,10 +93,6 @@ errorColor = "#CD5C5C" left = "\\[" right = '\\]' display = true -[[params.katex.options.delimiters]] - left = "```math" - right = '```' - display = true ``` For a complete list of options and their detailed description, have a look at the documentation of \\({\KaTeX}'s\\) [Rendering API options](https://katex.org/docs/autorender.html#api) and of \\({\KaTeX}'s\\) [configuration options](https://katex.org/docs/options.html).