# npm

Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

## markdown-it-mathjax-node

0.4.1 • Public • Published

## This is a markdown-it-mathjax-node

Call Mathjax-node to render math formula in markdown-it. Used deasync to bypass the markdown-it async only rule.

check test.js for more

Note: This is a general markdown-it math plugin. It was originally designed to render MathML. If you intend to use MathJax, markdown-it-mathjax might be a better choise.

# markdown-it-math

## Usage

where options can be (with defaults)

(See ascii2mathml for reference about the default renderer).

## Examples

Using comma as a decimal mark

Using TeXZilla as renderer

Using LaTeX style delimiters

Note there are restrictions on what inline delimiters you can use, based on optimization for the markdown-it parser see here for details. And block level math must be on its own lines with newlines separating the math from the delimiters.

## Keywords

### Install

npm i markdown-it-mathjax-node

26

0.4.1

MIT

90.1 kB

10

### Homepage

github.com/ir1d/markdown-it-mathjax-node

### Repository

github.com/ir1d/markdown-it-mathjax-node