vuepress / vuepress-plugin-mathjax

:page_with_curl: Use TeX in VuePress.
https://vuepress.github.io/plugins/mathjax.html
MIT License
32 stars 10 forks source link

vuepress-plugin-mathjax

npm CircleCI

A VuePress plugin which supports TeX syntax in markdown files.

Usage

npm i vuepress-plugin-mathjax
# OR
yarn add vuepress-plugin-mathjax

Configurations

target

The output of MathJax.

packages

The MathJax packages to use.

macros

Macros will be automatically mixed with built-in macros. To disable a built-in macro, simply set the value to null accordingly. Here is a list of all built-in macros:

presets

The preset content to be added. The preset content will automatically be inserted before the TeX code.

showError

Whether to output an error message in the console when a compilation error is encountered.

cache

LRU Cache Options. If set to false, no cache will be used.

Contribution

Contribution Welcome!