purescript-0.12.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 # 

Methods

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

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

Show a => Show (HtmlOutput a) Source # 

nullRenderContext :: ModuleName -> 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.