PureScript FFI bindings for react-markdown
. Allows you to render text written in Markdown.
spago install react-markdown
Import the Markdown
module:
import React.Markdown as Markdown
import React.Basic.DOM.Simplified.Generated as R
Then use in your JSX:
el Markdown.markdown { remarkPlugins: [ Markdown.gfm, Markdown.breaks ] } "# Some Markdown text"