vibe.d beta banner
get vibe.d
0.7.30

Function registerDietTextFilter

Registers a new text filter for use in Diet templates.

The filter will be available using :filtername inside of the template. The following filters are

Prototype

void registerDietTextFilter(
  string name,
  string function(string, ulong) filter
);

predefined

css, javascript, markdown, htmlescape

Authors

Sönke Ludwig

Copyright

© 2012-2015 RejectedSoftware e.K.

License

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