Skip to content

Commit

Permalink
πŸ’š Fix CORS error when building PDF
Browse files Browse the repository at this point in the history
No longer load Mathjax JS from Unpkg but Cloudflare.
This fixes #97 and loads a minified JS which is lightweight.
  • Loading branch information
ebouchut committed Nov 12, 2024
1 parent 548ed33 commit 60162a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ extra_css:
extra_javascript:
- assets/javascripts/mathjax.js
- assets/javascripts/mkdocs-exporter.js
- https://unpkg.com/mathjax@3/es5/tex-mml-chtml.js
- https://cdnjs.cloudflare.com/ajax/libs/mathjax/3.2.2/es5/tex-mml-chtml.min.js
- https://cdnjs.cloudflare.com/ajax/libs/mermaid/10.9.1/mermaid.min.js

# Customizations
Expand Down

0 comments on commit 60162a7

Please sign in to comment.