Safe HaskellSafe-Inferred

MarkdownToHaddock

Description

Welcome to a description of Hamlet, a markup language originally designed for use in the Yesod Web Framework.

NOTE: Hamlet was originally part of the hamlet package. However, it has since moved to the shakespeare package.

Purpose

Hamlet is designed to generate HTML.

Flavors

Hamlet comes in multiple flavors:

Simple

Here's an example:

<p>Hi, my name is #{name}!

If the Haskell variable name contains the string "Michael", this will result in:

<p>Hi, my name is Michael!</p>

Some more stuff...