This project is a monorepo that contains several packages for dealing with math in markdown and HTML. This repository contains unified (rehype and remark) plugins to add support for math. You can use them to add support for parsing and serializing a syntax extension and to render math with KaTeX or MathJax. This project is useful when you want to support LaTeX math. This mechanism works well when you want authors, who have some LaTeX experience, to be able to embed rich diagrams of math to scientific documentation. The extra syntax extension supported by remark-math for math in markdown does not work everywhere so it makes markdown less portable. This project is also useful as it renders math with KaTeX or MathJax at compile time, which means that there is no client-side JavaScript needed.
Features
- Examples available
- Math in markdown and HTML
- Documentation available
- Embed rich diagrams of math to scientific documentation
- Extra syntax extension supported by remark-math for math in markdown
- Renders math with KaTeX or MathJax at compile time