{-# LANGUAGE QuasiQuotes #-}
import Text.Hamlet
import Text.Blaze.Html.Renderer.String
main = putStrLn $ renderHtml [shamlet|
$doctype 5
<p>Hello world! {{foo}}
|]
Hamlet escaping
As of March 2020, School of Haskell has been switched to read-only mode.
comments powered by Disqus