1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-13 18:40:54 +01:00

Documentation (#6277)

KaTeX also needs Arithmatex to prevent conflict with the markdown parser.
This commit is contained in:
Letian W 2023-11-02 06:52:10 -04:00 committed by GitHub
parent ca5f5174a3
commit 7353c7d7cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)!