Skip to content

Commit

Permalink
Documentation (#6277)
Browse files Browse the repository at this point in the history
KaTeX also needs Arithmatex to prevent conflict with the markdown parser.
  • Loading branch information
letian-w authored Nov 2, 2023
1 parent ca5f517 commit 7353c7d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/reference/math.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ supports a subset of LaTeX syntax and can render math to HTML and SVG. To use
=== ":octicons-file-code-16: `mkdocs.yml`"

``` yaml
markdown_extensions:
- pymdownx.arithmatex:
generic: true
extra_javascript:
- javascripts/katex.js
- https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/katex.min.js # (1)!
Expand Down

0 comments on commit 7353c7d

Please sign in to comment.