# minimathjax

> A lightweight subset of MathJax that renders TeX using SVG.

Latest version **1.0.3** (published 2019-01-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install minimathjax
pnpm add minimathjax
yarn add minimathjax
bun add minimathjax
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; large bundle.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2019-01-19 |
| First published | 2018-09-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 10.6 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Matthew Burke |
| Maintainers | mwpb |
| Keywords | mathjax, small, space, compressed, stripped, mini, minimathjax, minified, latex, tex |

## Links

- npm: https://www.npmjs.com/package/minimathjax
- Repository: https://github.com/mwpb/miniMathJax
- Homepage: https://github.com/mwpb/miniMathJax#readme
- Issues: https://github.com/mwpb/miniMathJax/issues
- npm.io page: https://npm.io/package/minimathjax

## Alternatives

- [random-seedable](https://npm.io/package/random-seedable.md) — 27.9K weekly downloads
- [n2words](https://npm.io/package/n2words.md) — 22.2K weekly downloads
- [@stdlib/math-base-special-factorialln](https://npm.io/package/@stdlib/math-base-special-factorialln.md) — 5.7K weekly downloads
- [@stdlib/math-base-special-abs2](https://npm.io/package/@stdlib/math-base-special-abs2.md) — 1.7K weekly downloads
- [commons-math-interpolation](https://npm.io/package/commons-math-interpolation.md) — 1.4K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2019-01-19
- 1.0.2 — 2018-11-16
- 1.0.1 — 2018-09-23
- 1.0.0 — 2018-09-23

## README

# 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](https://www.mathjax.org)

## Authors

* MathJax team - creating the MathJax library in the first place.
* [Matthew Burke](https://mwpb.uk) - stripping out non-SVG renderers and non-TeX inputs.

## License

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

---
_Source: https://npm.io/package/minimathjax · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
