这三个东西在很多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.
posted on 2009-04-29 21:18
周锐 阅读(610)
评论(0) 编辑 收藏 所属分类:
Python