Module

Text.Smolder.Renderer.String

Package
purescript-smolder
Repository
bodil/purescript-smolder

#renderNode Source

renderNode :: forall e. Node e -> String

Render a node as an HTML string.

TODO: attr values and text content must be properly escaped.

#render Source

render :: forall a e. MarkupM e a -> String

Render markup as an HTML string.