比较和对比轻量级标记语言
请确定最流行的轻量级标记语言并比较它们的优点和缺点。 这些语言应该是技术散文的通用标记,例如文档(例如,Haml 不算)。
Please identify the most popular lightweight markup languages and compare their strengths and weaknesses. These languages should be general-purpose markup for technical prose, such as for documentation (for example, Haml doesn't count).
See also: Markdown versus ReStructuredText
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
我知道在更大的编程和技术社区中常用的三种主要语言:Textile、Markdown 和 reStructuredText。 这三者都可以在几个小时内学会,或者通过附近的备忘单“掌握”。
Textile
Markdown
reStructuredText(又名 ReST)
I know of three main languages used commonly in the greater programming and tech community: Textile, Markdown, and reStructuredText. All three can be learned in a couple of hours or "winged" with the cheat sheet nearby.
Textile
Markdown
reStructuredText (A.K.A. ReST)
您还可以考虑 asciidoc:
脚注,. 。 .)
asciidoctor 支持输出到:
很棒的 AsciiDoc 页面提供了一个很好的相关资源列表。
You might also consider asciidoc:
footnotes, . . .)
asciidoctor supports output to:
The Awesome AsciiDoc page provides a nice list of associated resources.
关于轻量级标记语言的维基百科页面对各种选项进行了很好的比较,并显示了语法用于常见用途(标题、粗体、斜体等)
The Wikipedia page on lightweight markup languages has a good comparison between the various options, as well as showing syntax for common uses (headings, bold, italics, etc.)
我试图在这里涵盖所有各种轻量级标记语言:
http://www.subspacefield。 org/~travis/static_blog_generators.html
如您所见,它以“如何制作一个安全的博客”开始 - 即生成静态 HTML 的博客,我发现自己陷入了标记语言、模板系统等的陷阱
更新
我只重新关注带有Python实现的LWML,它们在这里:
http://www.subspacefield.org/~travis/python_lightweight_markup_languages.html
到目前为止,我已经尝试过 markdown 和 ReST,我更喜欢后者,但除了
嵌入其他页面的 HTML 片段。 表格、交叉引用、间接链接等...
I am attempting to cover all the various lightweight markup languages here:
http://www.subspacefield.org/~travis/static_blog_generators.html
As you can see, it started with "how can I make a secure blog" - i.e. one that generates static HTML, and I found myself ensnared in markup languages, templating systems, etc.
Update
I refocused only on LWMLs with python implementations, and theyre here:
http://www.subspacefield.org/~travis/python_lightweight_markup_languages.html
So far I've tried markdown and ReST, and I like the latter better for anything but
HTML snippets embedded in other pages. Tables, cross refs, indirect links, etc...
用于文档?
doxygen 怎么样?
我已经将它用于一些我需要记录的 c/c++ 项目。
即使您可以“滥用”它,就像 doxygen 作者用于 doxygen 文档一样
for documentation?
how about doxygen?
I've use it for some of c/c++ project that I need to documentize.
Even you can 'abuse' it just like doxygen author uses for doxygen documentation