Skip to content

Commit

Permalink
Fetch KaTeX from jsDelivr
Browse files Browse the repository at this point in the history
This is consistent with MathJax and automatically picks the latest minor version.
  • Loading branch information
vedranmiletic committed Mar 19, 2024
1 parent 66d4500 commit a66c6c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/reference/math.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,11 @@ supports a subset of LaTeX syntax and can render math to HTML and SVG. To use

extra_javascript:
- javascripts/katex.js
- https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/katex.min.js
- https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/contrib/auto-render.min.js
- https://cdn.jsdelivr.net/npm/katex@0/katex.min.js
- https://cdn.jsdelivr.net/npm/katex@0/dist/contrib/auto-render.min.js

extra_css:
- https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/katex.min.css
- https://cdn.jsdelivr.net/npm/katex@0/dist/katex.min.css
```

## Usage
Expand Down

0 comments on commit a66c6c8

Please sign in to comment.