Size: 856
Comment: 直接来看例子吧!
|
Size: 970
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 10: | Line 10: |
* [http://wiki.woodpecker.org.cn/moin.cgi/PyTextile#head-e0bea098abf9e3acaebdb26595ba00a2f1d8b29b 比较概述] |
reStructureText 新结构化文本
-- Zoom.Quiet [DateTime(2004-09-13T23:59:16Z)] TableOfContents
概要
是至今最标准,最全面的结构化文本格式!提供了一切文章需要的元素支持!
[http://wiki.woodpecker.org.cn/moin.cgi/PyTextile#head-e0bea098abf9e3acaebdb26595ba00a2f1d8b29b 比较概述]
举例
- 直接来看例子吧!
[http://wiki.woodpecker.org.cn/moin.cgi/reST?action=AttachFile&do=view&target=reStructuredText.txt reStructuredText.txt] -- 或是一般使用 rst 作为结构化文本的后缀
- 使用 Python Docutils 模块的转换脚本:
1 python rst2html.py reStructuredText.txt reStructuredText.htm
就会生成: [http://220.248.2.35:7080/share/zqupload/tutorials/reST/ 结构化文本(reStructuredText)测试文档]
列表了所有重要的输出特性的一个效果文件!对比的看,立即会明白reST 是如何的了!