Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Since: 1.4.5
Synopsis
- markup :: DocMarkupH mod id a -> DocH mod id -> a
- idMarkup :: DocMarkupH mod id (DocH mod id)
- plainMarkup :: (mod -> String) -> (id -> String) -> DocMarkupH mod id String
Documentation
markup :: DocMarkupH mod id a -> DocH mod id -> a Source #
idMarkup :: DocMarkupH mod id (DocH mod id) Source #
The identity markup
plainMarkup :: (mod -> String) -> (id -> String) -> DocMarkupH mod id String Source #
Map a DocH
into a best estimate of an alternate string. The idea is to
strip away any formatting while preserving as much of the actual text as
possible.