New trac templating plugin

While I was creating wiki pages for my projects, I was looking for solution which could reuse most of the page markup, so I could just type in project info. I didn't find anything that would work reasonably well with trac 0.12.

So I decided I'll make my own plugin and you can see the result here: TracTemplateProcessor.

It's pretty flexible templating macro/processor with just ~90 lines of code. It very much resembles  WikiIncludePlugin, just better. It uses keyword arguments instead of positional ones and supports default values. You can see it in action very much on every project page here.

Also note current trac style has bit broken spacing and lists, so formatting may seem bit wierd in some places.

Comments

No comments.