Skip to content

Commit

Permalink
fixup! feature: add support for GLFM math blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanlachnit committed Apr 26, 2022
1 parent 51ed515 commit a03ab44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions layouts/_default/_markup/render-codeblock-math.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<p>```math
<p>$$
{{ .Inner | safeHTML }}
```</p>
$$</p>
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit a03ab44

Please sign in to comment.