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 周銳 閱讀(623) 評論(0)  編輯  收藏 所屬分類: Python
          主站蜘蛛池模板: 建瓯市| 乐至县| 洛宁县| 榆中县| 琼海市| 宝坻区| 胶南市| 黄龙县| 吕梁市| 鹿邑县| 凌云县| 洛川县| 景泰县| 鹿泉市| 元江| 金秀| 彝良县| 万山特区| 山丹县| 定安县| 岳阳县| 吉林市| 铁岭市| 柳河县| 东光县| 福海县| 西华县| 滦平县| 武隆县| 白山市| 江油市| 清苑县| 德州市| 杭锦后旗| 台东市| 清水河县| 东乡族自治县| 新源县| 苗栗县| 辛集市| 阿城市|