From 7353c7d7cf862dec278d115bd4dbd892952d4111 Mon Sep 17 00:00:00 2001 From: Letian W <32459033+letian-w@users.noreply.github.com> Date: Thu, 2 Nov 2023 06:52:10 -0400 Subject: [PATCH] Documentation (#6277) KaTeX also needs Arithmatex to prevent conflict with the markdown parser. --- docs/reference/math.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/reference/math.md b/docs/reference/math.md index 92744158e..01aa4ad1a 100644 --- a/docs/reference/math.md +++ b/docs/reference/math.md @@ -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)!