pongo2-addons/README.md
2014-07-26 17:42:22 +02:00

832 B

pongo2-addons

Build Status GitTip

Official filter and tag add-ons for pongo2. Uses 3rd-party-libraries.

How to use and install

Install via go get -u github.com/flosch/pongo2-addons.

Simply add the following import line after importing pongo2:

_ "github.com/flosch/pongo2-addons"

All additional filters/tags will be registered automatically.

Filters

  • markdown (parses markdown text and outputs HTML; hint: use the safe-filter to make the output not being escaped)
  • slugify (creates a slug for a given input)

Tags

(nothing yet)