Deprecated

In favour of

shakespeare-css

Stick your haskell variables into css at compile time. (deprecated) http://www.yesodweb.com/book/shakespearean-templates

Latest on Hackage:1.1.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

MIT licensed and maintained by Michael Snoyman

Shakespeare is a template family for type-safe, efficient templates with simple variable interpolation. Shakespeare templates can be used inline with a quasi-quoter or in an external file. Shakespeare interpolates variables according to the type being inserted. In this case, the variable type needs a ToCss instance.

This package contains 2 css template languages. The Cassius language uses whitespace to avoid the need for closing brackets and semi-colons. Lucius does not care about whitespace and is a strict superset of css. There are also some significant conveniences added for css.

Please see http://www.yesodweb.com/book/shakespearean-templates for a more thorough description and examples

comments powered byDisqus