bytemd/packages/plugin-math-ssr
Rongjian Zhang 02ebc5dd67 v1.20.0 2023-01-04 14:44:14 +08:00
..
src style: import sorts 2022-10-13 17:27:33 +08:00
README.md docs: add script for styles import 2023-01-03 19:39:49 +08:00
locales refactor: move locales to root 2022-02-27 15:10:31 +08:00
package.json v1.20.0 2023-01-04 14:44:14 +08:00
tsconfig.json build: upgrade 2022-04-23 23:46:11 +08:00

README.md

@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