bytemd-plugin-gfm
v0.0.1
Published
A bytemd plugin for GitHub Flavored Markdown
Maintainers
Readme
bytemd-plugin-gfm
A bytemd plugin for GitHub Flavored Markdown, including autolink literals, strikethrough, tables, and task lists.
Usage
pnpm add bytemd @bytemd/react bytemd-plugin-gfmimport { Editor } from '@bytemd/react'
import gfm from 'bytemd-plugin-gfm'
import { useState } from 'react'
import 'bytemd/dist/index.css'
const plugins = [gfm()]
export default function App() {
const [value, setValue] = useState('')
return <Editor value={value} plugins={plugins} onChange={setValue} />
}Credits
Based on @bytemd/plugin-gfm ❤️
License
MIT License © Frankie
