Markdown Math
About 85 wordsLess than 1 minute
2025-10-09
Overview
Adds mathematical formula support for Markdown.
Related plugin: @vuepress/plugin-markdown-math
This plugin allows you to render TEX content in Markdown using MathJax or KaTeX.
Configuration
The plugin enables katex by default.
.vuepress/config.ts
import { defineUserConfig } from 'vuepress'
import { plumeTheme } from 'vuepress-theme-plume'
export default defineUserConfig({
theme: plumeTheme({
markdown: {
math: {
type: 'katex',
}
},
}),
})For configuration entry priority information, please refer to Plugin Configuration Entry.
