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
Name | Description |
---|---|
_toString | Internal function used for converting an interpolation expression to string |
compileDietFile | Parses the given diet template at compile time and writes the resulting HTML code into 'stream'. |
compileDietFileCompat | Compatibility version of parseDietFile (). |
compileDietFileCompatV | Compatibility version of parseDietFile (). |
dietParser | |
registerDietTextFilter | Registers a new text filter for use in Diet templates. |
Global variables
Name | Type | Description |
---|---|---|
compileDietFileMixin | void | Generates a diet template compiler to use as a mixin. |
Aliases
Name | Type | Description |
---|---|---|
parseDietFile | compatibility alias | |
parseDietFileCompat | compatibility alias |
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.