Official filter and tag addons for pongo2
Go to file
Florian Schlachter 13c6d9027d Create .travis.yml
2014-07-26 17:36:33 +02:00
.gitignore slugify-filter and tests added. 2014-07-26 17:28:14 +02:00
.travis.yml Create .travis.yml 2014-07-26 17:36:33 +02:00
filters_test.go slugify-filter and tests added. 2014-07-26 17:28:14 +02:00
filters.go slugify-filter and tests added. 2014-07-26 17:28:14 +02:00
LICENSE Initial commit 2014-07-20 00:24:32 +02:00
README.md Merge branch 'master' of github.com:flosch/pongo2-addons 2014-07-26 17:28:24 +02:00

pongo2-addons

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)