Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use latest KaTeX CDN asset #9707

Merged
merged 1 commit into from
Apr 29, 2024
Merged

Use latest KaTeX CDN asset #9707

merged 1 commit into from
Apr 29, 2024

Conversation

salim-b
Copy link
Contributor

@salim-b salim-b commented Apr 29, 2024

When --katex is specified without a URL, this change makes Pandoc insert CDN URLs1 into the compiled output that always point to the latest released KaTeX version. This is in line with the behaviour for --mathjax, which falls back to a CDN URL that also points to the latest released MathJax version2.

Footnotes

  1. https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.js etc.

  2. https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js; note that there would also be versioned URLs available from cdn.jsdelivr.net for MathJax

@jgm jgm merged commit c18fd22 into jgm:main Apr 29, 2024
9 of 12 checks passed
@salim-b salim-b deleted the patch-1 branch April 29, 2024 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants