npm.io
1.22.0 • Published 1 year ago

@bytemd/plugin-math-ssr

Licence
MIT
Version
1.22.0
Deps
2
Size
2.2 MB
Vulns
0
Weekly
0
Stars
1.4K

@bytemd/plugin-math-ssr

npm

ByteMD plugin to support math formula (SSR compatible)

Usage

import math from '@bytemd/plugin-math-ssr'
import { Editor } from 'bytemd'
import 'katex/dist/katex.css'

new Editor({
  target: document.body,
  props: {
    plugins: [
      math(),
      // ... other plugins
    ],
  },
})

License

MIT