minimathjax

1.0.3 • Public • Published

miniMathJax

A lightweight subset (11.7MB as of 2019-01-19) of MathJax that renders TeX using SVG.

Getting started

Clone repo and create a script tag with appropriate source:

<script type="text/javascript" src="path-to-root-of-repo/MathJax.js?config=TeX-AMS_SVG"></script>

Minimal working example is test.html in the repo:

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Test for miniMathJax</title>
    <script type="text/javascript" src="./MathJax.js?config=TeX-AMS_SVG"></script>
</head>
<body>
$$e=mc^2$$
</body>
</html>

Modify the path './MathJax.js' as required.

Built with

MathJax

Authors

  • MathJax team - creating the MathJax library in the first place.
  • Matthew Burke - stripping out non-SVG renderers and non-TeX inputs.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Package Sidebar

Install

npm i minimathjax

Weekly Downloads

2

Version

1.0.3

License

MIT

Unpacked Size

11.1 MB

Total Files

292

Last publish

Collaborators

  • mwpb