Wednesday, February 9, 2011

Python module for wiki markup

Is there a Python module for converting wiki markup to other languages (e.g. HTML)?

A similar question was asked here, What's the easiest way to convert wiki markup to html, but no Python modules are mentioned.

Just curious. :) Cheers.

  • I am not sure of your exact application, but there is a great list here.

  • mwlib provides ways of converting MediaWiki formatted text into HTML, PDF, DocBook and OpenOffice formats.


    Image of how it works

    Dan : That, sir, is a truly awesome piece of software, and written in Python too. Thanks for making me aware of it. A big +1.
  • You should look at a good parser for Creole syntax: creole.py. It can convert Creole (which is "a common wiki markup language to be used across different wikis") to HTML.

    From zuber
  • Django uses the following libraries for markup:

    You can see how they're used in Django.

    Jesse Dhillon : +1 for Markdown, which IMO should be the default markup language for everyone, everywhere and for all time.
    From tghw

0 comments:

Post a Comment