@bytemd/plugin-math (英语)
支持数学公式的 ByteMD 插件
使用量
import math from '@bytemd/plugin-math'
import { Editor } from 'bytemd'
import 'katex/dist/katex.css'
new Editor({
target: document.body,
props: {
plugins: [
math(),
// ... other plugins
],
},
})
许可证
麻省理工学院