markdown:http://pythonhosted.org//Markdown/
markdown2:https://github.com/trentm/python-markdown2
snudown:https://github.com/reddit/snudown
mardown库比较常用。
使用:
import markdown
print markdown.markdown('`code`')
print markdown.markdown('content', extensions=['markdown.extensions.tables'])