shakespeare-css: Stick your haskell variables into css at compile time.
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
Versions | 0.10.0, 0.10.1, 0.10.2, 0.10.3, 0.10.4, 0.10.5, 0.10.6, 0.10.7, 0.10.7.1, 0.10.8, 1.0.0, 1.0.1, 1.0.1.1, 1.0.1.2, 1.0.1.3, 1.0.1.4, 1.0.1.5, 1.0.2, 1.0.2.1, 1.0.3, 1.0.4, 1.0.5, 1.0.5.1, 1.0.6, 1.0.6.1, 1.0.6.2, 1.0.6.3, 1.0.6.4, 1.0.6.5, 1.0.6.6, 1.0.7, 1.0.7.1, 1.0.7.2, 1.0.7.3, 1.0.7.4, 1.1.0 |
---|---|
Dependencies | base (>=4.5 && <5), parsec (>=2 && <4), process (>=1.0), shakespeare (==1.0.*), template-haskell, text (>=0.11.1.1), transformers [details] |
License | MIT |
Author | Michael Snoyman <michael@snoyman.com> |
Maintainer | Michael Snoyman <michael@snoyman.com> |
Revised | Revision 1 made by AdamBergmark at Sat Jul 11 08:38:16 UTC 2015 |
Category | Web, Yesod |
Home page | http://www.yesodweb.com/book/shakespearean-templates |
Source repo | head: git clone git://github.com/yesodweb/shakespeare.git |
Uploaded | by MichaelSnoyman at Thu Apr 25 06:33:40 UTC 2013 |
Distributions | Debian:1.0.7.4, NixOS:1.1.0 |
Downloads | 36381 total (66 in the last 30 days) |
Rating | (no votes yet) [estimated by rule of succession] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] Hackage Matrix CI |
Downloads
- shakespeare-css-1.0.5.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.