mdBook
mdBook copied to clipboard
feat: Upgrades to MathJax version 3 and supports setting different configuration files (defaults to 'tex-mml-chtml').
Introduction
This PR is used to upgrade to MathJax version 3 and supports setting different configuration files (defaults to 'tex-mml-chtml).
It is inspired by the issue: mdBook doesn't support mathcal symbols.
Closes #2284.
Background
This PR can fix a bug hidden in MathJax v2 introduced here.
Thanks for the PR! I believe #1918 is already open to address this. Can you give it a try and see how it works for you?
Thanks @ehuss!
I took a quick look and I think it will also solve the problem.
The advantage of that PR is that it's more flexible (e.g., local js), but its disadvantages are
- It requires larger changes to the configuration compared to this PR.
- It's NOT compatible with existing configs.
The advantages of this PR are
- This is a tiny change.
- It is compatible with previous configs.
I respect the owners' / reviewers' decision. Please feel free to let me know if you prefer to withdraw this PR.
I prefer this PR because it makes https://github.com/rust-lang/mdBook/pull/2069 much easier