Skip to content

πŸ”– πŸ“ πŸ’« Bookmarklet for rendering Tex/LaTeX and MathML notation on pages dynamically

License

Notifications You must be signed in to change notification settings

Naereen/mathjax-bookmarklet

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

38 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”– πŸ“ πŸ’« MathJax Bookmarklet

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

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.

Build?

Minify the bookmarklet from bookmarklet.js by using uglifyjs bookmarklet.js -m. (with UglifyJS2)


πŸ“œ License ? GitHub license

This (small) repository is published under the terms of the MIT license (file LICENSE). Β© Lilian Besson, 2018.

Maintenance Ask Me Anything ! Analytics made-with-mathjax made-with-latex

ForTheBadge built-with-swag

ForTheBadge uses-js ForTheBadge uses-badges ForTheBadge uses-git

About

πŸ”– πŸ“ πŸ’« Bookmarklet for rendering Tex/LaTeX and MathML notation on pages dynamically

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 70.3%
  • JavaScript 29.7%