Module vibe.templ.diet

Implements a compile-time Diet template parser.

Diet templates are an more or less compatible incarnation of Jade templates but with embedded D source instead of JavaScript. The Diet syntax reference is found at http://vibed.org/templates/diet.

Functions

Function name Description
dietParser
parseDietFile Parses the given diet template at compile time and writes the resulting HTML code into 'stream'.
parseDietFileCompat Compatibility version of parseDietFile().
registerDietTextFilter Registers a new text filter for use in Diet templates.

Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.