@renovamen/vuepress-plugin-katex
A plugin for for adding KaTeX to VuePress to support mathematical formulas rendering in Markdown. This plugin is based on waylonflinn/markdown-it-katex.
KaTeX is a faster alternative to MathJax (see here).
Here is a list of TeX functions supported by KaTeX.
Usage
Install:
yarn add @renovamen/vuepress-plugin-katex
# or
npm install @renovamen/vuepress-plugin-katex
Enable this plugin in VuePress with KaTeX options:
module.exports = {
plugins: [
[
'@renovamen/vuepress-plugin-katex', {
'throwOnError': false, // (optional)
'errorColor': '#cc0000' // (optional)
}
]
]
}