A VuePress plugin which supports TeX syntax in markdown files.
npm install vuepress-plugin-mathjax

A VuePress plugin which supports TeX syntax in markdown files.
``bash`
npm i vuepress-plugin-mathjaxOR
yarn add vuepress-plugin-mathjax
- type: 'svg' | 'chtml''chtml'
- default:
The output of MathJax.
- type: string | string[]
- default: all the MathJax packages available
The MathJax packages to use.
- type: { [key: string]: string | null }{}
- default:
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:
- type: string | string[][]
- default:
The preset content to be added. The preset content will automatically be inserted before the TeX code.
- type: booleanprocess.env.NODE_ENV === 'development'
- default:
Whether to output an error message in the console when a compilation error is encountered.
- type: false | object{}
- default:
LRU Cache Options. If set to false`, no cache will be used.
Contribution Welcome!