Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 380 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 380 Bytes

react-mfm

Note

Usage

See example/.

import Mfm from "react-mfm"
import "react-mfm/style.css"
import "katex/dist/katex.min.css" // to support Formula

const text = \`
  <center>
    **hello, world**
  </center>
\`.trim()

export default function Page() {
  return <Mfm text={text} />
}