@hackage shakespeare2.2.0
A toolkit for making compile-time interpolated templates
Categories
License
MIT
Maintainer
Michael Snoyman <michael@snoyman.com>
Links
Versions
Installation
Dependencies (20)
- aeson <3
- base >=4.11 && <5
- blaze-html
- blaze-markup
- bytestring >=0.11.2
- containers Show all…
Dependents (110)
@hackage/yesod-auth-fb, @hackage/yesod-articles, @hackage/hledger, @hackage/pi-hoole, @hackage/shakespeare-babel, @hackage/yesod-fay, Show all…
Package Flags
test_export(off by default)
test_coffee
(off by default)
render tests through coffeescript render function
test_roy
(off by default)
render tests through roy render function
Shakespeare is a family of type-safe, efficient template languages. Shakespeare templates are expanded at compile-time, ensuring that all interpolated variables are in scope. Variables are interpolated according to their type through a typeclass.
Shakespeare templates can be used inline with a quasi-quoter or in an external file.
Note there is no dependency on haskell-src-extras. Instead Shakespeare believes logic should stay out of templates and has its own minimal Haskell parser.
Packages that use this: xml-hamlet
Please see the documentation at http://www.yesodweb.com/book/shakespearean-templates for more details.