drasil-printers-0.1.10.0: A framework for code and document generation for scientific software - Printers SubPackage
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.Drasil.HTML.Print

Description

Defines all functions needed to print HTML files. For more information on each of the helper functions, please view the source files.

Synopsis

Main Function

genHTML :: PrintingInformation -> String -> Document -> Doc Source #

Generate an HTML document from a Drasil Document.

Citation Renderer

renderCite :: Citation -> (Doc, Doc) Source #

For when we add other things to reference like website, newspaper

Term Fencing Helpers

data OpenClose Source #

Referring to fence (for parenthesis and brackeds). Either opened or closed.

Constructors

Open 
Close 

fence :: OpenClose -> Fence -> String Source #

Allows for open/closed variants of parenthesis, curly brackets, absolute value symbols, and normal symbols.