ByteMD plugin to support math formula (SSR compatible)
import { Editor } from 'bytemd';
import math from '@bytemd/plugin-math-ssr';
new Editor({
target: document.body,
props: {
plugins: [
math(),
// ... other plugins
],
},
});
MIT