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

Prototypes

void registerDietTextFilter(
  string name,
  string function(string, int indent) filter
);

predefined

css, javascript, markdown

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.