Module

MarkdownIt

Package
purescript-markdown-it
Repository
nonbili/purescript-markdown-it

#renderString Source

renderString :: String -> Effect String

Parse and render markdown string to html string.

#MarkdownIt Source

#Preset Source

data Preset

Constructors

Instances

#MarkdownItOptions Source

#newMarkdownIt Source

newMarkdownIt :: Preset -> Options MarkdownItOptions -> Effect MarkdownIt

Create a new MarkdownIt instance

#render Source

render :: MarkdownIt -> String -> Effect String

Use an existing MarkdownIt instance to render markdown string to html string.

#renderInline Source

renderInline :: MarkdownIt -> String -> Effect String

Similar to render, but without wrapping <p>.

#use Source

use :: Foreign -> MarkdownIt -> Effect MarkdownIt

Load a plugin to an existing MarkdownIt instance.

Modules
MarkdownIt