Hi, I want to convert pages in the Wiki syntax used by Trac to markdown. Is there a good solution?
I found a few very shorts scripts that attempt to do so, but none that really looked promising. I've also considered using WikiParser from trac.wiki to get a DOM tree of the trac wiki and then write code that will convert it to markdown, but I've ran into problems using WikiParser. I've tried: from trac.wiki import WikiParser from trac.core import ComponentManager wp = WikiParser(ComponentManager()) wp.parse(my_wiki_text) But the last line simply returns my_wiki_text as is, instead of a WikiDOM tree as the documentations says. Any idea what I did wrong? Thanks, Guy --- http://www.guyrutenberg.com/ -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
