Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Render math with MathJax (pypi#12028)
* chore(deps): upgrade readme-renderer The latest release includes the necessary changes to render the HTML correctly for RST with Math directives. Refs: https://github.com/pypa/readme_renderer/releases/tag/36.0 Signed-off-by: Mike Fiedler <miketheman@gmail.com> * feat: include mathjax Follows installation instructions from docs. See https://docs.mathjax.org/en/latest/web/start.html#using-mathjax-from-a-content-delivery-network-cdn Using the TeX+SVG variant to keep it lightweight. Loads from a CDN with SRI hashes, and restricts the Content Security Policy narrowly to prevent any other calls being made to anything unrelated to the MathJax package. Signed-off-by: Mike Fiedler <miketheman@gmail.com> * Revert "feat: include mathjax" This reverts commit 642ce88. * feat: include mathjax as vendored MathJax 3.2.2 Files required for `tex-svg.js` to load and execute Signed-off-by: Mike Fiedler <miketheman@gmail.com> * feat: include mathjax Follows installation instructions from docs. See https://docs.mathjax.org/en/latest/web/start.html#using-mathjax-from-a-content-delivery-network-cdn Using the TeX+SVG variant to keep it lightweight. Loads from a CDN with SRI hashes, and restricts the Content Security Policy narrowly to prevent any other calls being made to anything unrelated to the MathJax package. Signed-off-by: Mike Fiedler <miketheman@gmail.com> * Revert "feat: include mathjax" This reverts commit 642ce88. * feat: include mathjax as vendored MathJax 3.2.2 Files required for `tex-svg.js` to load and execute Signed-off-by: Mike Fiedler <miketheman@gmail.com> Co-authored-by: Dustin Ingram <di@users.noreply.github.com>
- Loading branch information