trifecta-1.5.1.3: A modern parser combinator library with convenient diagnostics

Copyright(C) 2011-2014 Edward Kmett
LicenseBSD-style (see the file LICENSE)
MaintainerEdward Kmett <ekmett@gmail.com>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Text.Trifecta.Highlight

Description

 

Synopsis

Documentation

withHighlight :: Highlight -> Doc -> Doc Source

Convert a Highlight into a coloration on a Doc.

data HighlightDoc Source

Represents a source file like an HsColour rendered document

doc :: String -> HighlightedRope -> HighlightDoc Source

Generate an HTML document from a title and a HighlightedRope.