pygments, markdown和textile

pygments, markdown和textile

这三个东西在很多python web程序需要的模块,都是对文本进行格式化。
pygments

用作格式化高亮代码的


python-markdown


提供类似wiki格式的格式化功能(mark text转html)
http://www.freewisdom.org/projects/python-markdown/

markdown的帮助文档:
http://www.unix-center.net/moodle/help.php?file=markdown.html
http://daringfireball.net/projects/markdown/basics

python-textile


Textile is an XHTML generator that uses a simple markup, similar to the one you can find on most wikis.

This is a Python module that implements a parser and generator that supports the Textile markup syntax.

 

你可能感兴趣的:(pygments, markdown和textile)