pengzhanbo 385059f214
docs: update en docs (#708)
* docs: update en docs

* chore: tweak

* chore: tweak

* chore: tweak
2025-10-09 15:46:05 +08:00

816 B

title, createTime, permalink
title createTime permalink
Markdown Math 2025/10/09 13:20:41 /en/config/plugins/markdown-math/

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.

import { defineUserConfig } from 'vuepress'
import { plumeTheme } from 'vuepress-theme-plume'

export default defineUserConfig({
  theme: plumeTheme({
    markdown: {
      math: {
        type: 'katex',
      }
    },
    // Can also be configured in `plugins.markdownMath`, but not recommended
    plugins: {
      markdownMath: {}
    }
  }),
})