Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 430 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 430 Bytes

@bytemd/plugin-frontmatter

npm

ByteMD plugin to parse frontmatter

Usage

import frontmatter from '@bytemd/plugin-frontmatter'
import { Editor } from 'bytemd'

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

License

MIT