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

#linkTo Source

linkTo :: TroutURI -> Markup Unit -> Markup Unit

Helper function for generating a Smolder anchor tag based on a URI.

#EncodeHTML Source

class EncodeHTML a  where

Encodes a value as HTML, using Smolder markup.

Members