| Copyright | (c) 2014 Alp Mestanogullari Vikram Verma |
|---|---|
| License | BSD3 |
| Maintainer | alpmestan@gmail.com |
| Stability | experimental |
| Safe Haskell | None |
| Language | Haskell2010 |
Text.Taggy.Renderer
Description
Render a DOM tree (from Text.Taggy.DOM) using the excellent blaze markup rendering library.
- class AsMarkup a where
- class Renderable a where
- toAttribute :: HashMap Text Text -> Markup -> Markup
- toStatic :: Text -> StaticString
Documentation
class AsMarkup a where Source #
Minimal complete definition
class Renderable a where Source #
Minimal complete definition
Instances
| AsMarkup a => Renderable a Source # | Any value convertible to |
toStatic :: Text -> StaticString Source #