Module
Type.Trout.ContentType.HTML
- Package
- purescript-trout
- Repository
- owickstrom/purescript-trout
#HTML Source
data HTMLA content type, corresponding to the text/html media type.
Instances
HasMediaType HTML(EncodeHTML a) => MimeRender a HTML StringMimeRender (Free (MarkupM e) Unit) HTML String(EncodeHTML a) => AllMimeRender a HTML String
#EncodeHTML Source
class EncodeHTML a whereEncodes a value as HTML, using Smolder markup.
Members
encodeHTML :: a -> Markup Unit
Encode the given value as Smolder markup.