Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I use Trac wiki formatting in a Django/Python web application?

Tags:

I have a Python web application (Django, specifically). I'm reading in some data from a Trac database (where the descriptions use wiki formatting) and displaying it as HTML. I considered the markdown module, but realised that Trac wiki formatting and markdown are really quite different. Is there a module for Django, or a Python package that supports the wiki formatting that Trac uses?

Update:

Looks like I was a little hasty with my vote to close - while the other ticket looks similar, my question is more to do with Trac wiki formatting. Thanks to petantik for the link!

Similar question: Where can i get a wiki formatting widget for my django application?

like image 549
Nick Bolton Avatar asked Jan 27 '10 00:01

Nick Bolton


1 Answers

The below links shows a snippet which imports trac markup and makes a django template filter from it

http://www.djangosnippets.org/snippets/1047/

like image 151
petantik Avatar answered Oct 14 '22 22:10

petantik