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