The latest version of flamethrower is 0.0.5.1-0.
flamethrower
Version 0.0.3.1 revision 0 uploaded by charmander.
Package meta
- Synopsis
- A template engine for HTML
- Description
Flamethrower is a simpler indentation-based template language for HTML.
It’s intended to be a port of Razor Leaf, but it has quite a ways to go before reaching that status.
{-# LANGUAGE QuasiQuotes #-} {-# LANGUAGE OverloadedStrings #-} import Flamethrower import Flamethrower.Escape import Data.Text import qualified Data.Text.IO render name = [flamethrower| p id: "greeting" "Hello, " em "#{name}" "!" |] main = Data.Text.IO.putStrLn $ render "world" -- <p id="greeting">Hello, <em>world</em>!</p>
- Author
- Charmander
- Bug reports
- n/a
- Category
- Text, HTML, Web
- Copyright
- n/a
- Homepage
- https://charmander.me/flamethrower/
- Maintainer
- ~@charmander.me
- Package URL
- n/a
- Stability
- alpha