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