posts - 431,  comments - 344,  trackbacks - 0

          這三個東西在很多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 周銳 閱讀(624) 評論(0)  編輯  收藏 所屬分類: Python
          主站蜘蛛池模板: 任丘市| 衡阳县| 民乐县| 仪征市| 鄂州市| 饶河县| 浪卡子县| 文成县| 东乡族自治县| 万全县| 宁明县| 龙胜| 喀喇沁旗| 曲水县| 中超| 逊克县| 鄄城县| 恩施市| 巧家县| 福泉市| 澄江县| 墨竹工卡县| 门头沟区| 安新县| 绥中县| 和静县| 德江县| 溧水县| 东丽区| 阳山县| 阜宁县| 若尔盖县| 辉县市| 赤峰市| 雷波县| 台中市| 莱州市| 高台县| 黄大仙区| 公主岭市| 九龙坡区|