Modulecheapskate-0.1.1.2Haskell2010
Cheapskate
- 3 values
- Packagecheapskate-0.1.1.2
- Exports4
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceParse.hs
The default value for this type.
Apply a transformation bottom-up to every node of a parsed document. This can be used, for example, to transform specially marked code blocks to highlighted code or images. Here is a simple example that promotes the levels of headers:
promoteHeaders :: Doc -> Doc
promoteHeaders = walk promoteHeader
where promoteHeader (Header n ils) = Header (n+1) ils
promoteHeader x = xMonadic version of walk.
module Cheapskate.Types