purescript-0.11.6: 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 #

Constructors

HtmlOutput 

Instances

Functor HtmlOutput # 

Methods

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

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

Show a => Show (HtmlOutput a) # 

nullRenderContext :: ModuleName -> HtmlRenderContext #

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

renderMarkdown :: Text -> Html #

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