比较和对比轻量级标记语言 [英] Compare and contrast the lightweight markup languages
本文介绍了比较和对比轻量级标记语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请确定最流行的轻量级标记语言,并比较其优缺点。这些语言应该是技术散文的通用标记,例如文档(例如,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).
另请参见:停止与ReStructuredText
推荐答案
我知道在更大的编程和技术社区中常用的三种主要语言:Textile,Markdown和reStructuredText。所有这三个人可以在几个小时内学到,或者在附近的作弊表上飞过。
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.
- Redmine和Ruby社区使用
- 目前在Stack Overflow上标记的113个问题
- 最类似于HTML,但最不可读的来源
- 所有三种语言的最简单的嵌套列表
- 非程序员或HTML无知 $ b不可理解$ b
- 适用于复杂的短文档(包含链接,嵌套列表,代码,自定义HTML);例如:简短的文档,how-tos,博客或CMS内容
- 语法参考
- Used by Redmine and the Ruby community
- 113 questions currently tagged on Stack Overflow
- The most similar to HTML, but least readable source
- Easiest nested lists of all three languages
- Not understandable to non-programmers or the HTML-ignorant
- Ideal for complex short documents (with links, nested lists, code, custom HTML); for example: short documentation, how-tos, blog or CMS content
- Syntax reference
- 似乎没有家庭语言社区,但...
- 在堆栈溢出标记的1274个问题*
- 强调源代码可读性,类似于电子邮件传统
- 简单的HTML嵌入(您只需键入标签)
- 除了嵌入HTML之外, li>
- 如果您知道Stack Overflow,您已经知道了。
- 如果您已经知道reStructuredText ,轻松学习
- 自动发送电子邮件地址混淆格式为< address@example.com> (带尖括号)
- 语法参考
- Doesn't seem to have a home language "community" but...
- 1274 questions tagged on Stack Overflow*
- Emphasizes source code readability, similar to email traditions
- Straightforward HTML embedding (you just type the tags out)
- No way to make tables besides embedding HTML
- You know it already if you know Stack Overflow
- Easy to learn if you already know reStructuredText
- Automatic email address obfuscation for the format <address@example.com> (with angle brackets)
- Syntax reference
- Python社区
- Stack Overflow上标有285个问题
- 如果您问我
- 有空白和空白对齐li>列表(特别是嵌套列表)和段落总是似乎得到打击
- 非程式员可读
- 只能构建表格的格式的内容(通过Python参考实现中的扩展名)
- 直接转换为其他格式,如PDF和XML
- 适用于大型文档散文(例如用户手册的docbook的替代方法)
- 语法参考
- Popular in the Python community
- 285 questions tagged on Stack Overflow
- A bit persnickety about whitespace and alignment if you ask me
- Lists (especially nested lists) and paragraphs always seem to get in fights
- Readable by non-programmers
- Only format which can build a table of contents (via an extension in the Python reference implementation)
- Directly converts to other formats like PDF and XML
- Ideal for large documents with lots of prose (e.g. an alternative to docbook for a user manual)
- Syntax reference
这篇关于比较和对比轻量级标记语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文