MathJax Bookmarklet is a π bookmarklet for rendering π TeX/LaTeX and MathML notation on pages dynamically π« using the MathJax library.
Pages don't have to include mathjax.js
.
The library is included and configured dynamically. The LaTeX preprocessor will render equations delimited by $...$
or by \(...\)
(for inline maths) and \[...\]
or $$...$$
for display math.
The ASCIIMathML preprocessor will render equations delimited by `...`
.
Note: This bookmarklet will also try to render math notation inside iframes. This will be successfully executed only on iframes on the same domain because cross-domain policies don't support modification of iframe content from other domains.
Install the bookmarklet HERE.
- #1 fails if a page failed to load MathJax (for instance a HTTPS page using an incorrect HTTP link to load MathJax). I don't know AT ALL how to tackle this, any idea is welcome.
Minify the bookmarklet from bookmarklet.js by using uglifyjs bookmarklet.js -m
. (with UglifyJS2)
This (small) repository is published under the terms of the MIT license (file LICENSE). Β© Lilian Besson, 2018.