purescript-0.13.0: PureScript Programming Language Compiler

Safe HaskellNone
LanguageHaskell2010

Language.PureScript.Docs.AsHtml

Description

Functions for rendering generated documentation from PureScript code as HTML.

Synopsis

Documentation

data HtmlOutput a Source #

Constructors

HtmlOutput 
Instances
Functor HtmlOutput Source # 
Instance details

Defined in Language.PureScript.Docs.AsHtml

Methods

fmap :: (a -> b) -> HtmlOutput a -> HtmlOutput b #

(<$) :: a -> HtmlOutput b -> HtmlOutput a #

Show a => Show (HtmlOutput a) Source # 
Instance details

Defined in Language.PureScript.Docs.AsHtml

nullRenderContext :: HtmlRenderContext Source #

An HtmlRenderContext for when you don't want to render any links.

renderMarkdown :: Text -> Html Source #

Render Markdown to HTML. Safe for untrusted input. Relative links are | removed.