README
@milkdown/plugin-math
Math plugin for milkdown. Add support for latex.
Example Usage
import { Editor } from '@milkdown/core';
import { commonmark } from '@milkdown/preset-commonmark';
// import theme and style
import '@milkdown/theme-nord/lib/theme.css';
import '@milkdown/preset-commonmark/lib/style.css';
import { math } from '@milkdown/plugin-math';
// import style
import '@milkdown/plugin-math/lib/style.css';
new Editor().use(commonmark).use(math).create();