Package

purescript-react-markdown

Repository
rowtype-yoga/purescript-react-markdown
License
MIT-0
Uploaded by
pacchettibotti
Published on
2023-01-26T11:34:05Z

PureScript FFI bindings for react-markdown. Allows you to render text written in Markdown.

Installation

spago install react-markdown

Usage

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"
Modules
React.Markdown
Dependencies