Markdown 与 HTML 对比:30项指标
Markdown 对比 HTML
Markdown
Markdown 是一种Markup编程语言,首次出现于 2004 年,由 John Gruber 设计。主要应用场景:Documentation, Technical Writing, Publishing。
HTML
HTML 是一种Declarative, Markup编程语言,首次出现于 1993 年,由 Tim Berners-Lee 设计。主要应用场景:Data Serialization, Configuration, Interchange。
30项指标
| 指标 | Markdown | HTML |
|---|---|---|
| GitHub Stars | 61087 | 63360 |
| Stack Overflow Tags | 831978 | 849439 |
| TIOBE Rank | 2 | 17 |
| RedMonk Rank | 21 | 1 |
| PYPL Rank | 3 | 13 |
| Average Salary (USD) | 133823 | 123836 |
| Job Postings | 40440 | 43889 |
| Benchmarks Score | 0.92 | 0.95 |
| Learning Curve | Hard | Hard |
| Community Size | Very Large | Very Large |
| Documentation Quality | 8 | 8 |
| Ecosystem Maturity | 10 | 9 |
| Industry Adoption | 9 | 10 |
| Type System Complexity | 8 | 10 |
| Concurrency Support | 10 | 10 |
| Performance - Execution Speed | 9 | 10 |
| Performance - Memory Usage | 10 | 10 |
| Performance - Startup Time | 8 | 10 |
| Tooling Quality | 9 | 8 |
| Package Manager Quality | 10 | 9 |
| IDE Support | 10 | 9 |
| Debugging Experience | 9 | 8 |
| GitHub Stars Rank | 14 | 9 |
| Stack Overflow Tags Rank | 12 | 7 |
| Average Salary Rank | 4 | 21 |
| Job Postings Rank | 15 | 3 |
| Benchmarks Rank | 13 | 10 |
| Learning Curve Score | 2 | 1 |
| Community Size Score | 10 | 10 |
| AHP Score | 8.27 | 8.17 |
AHP综合评分
- Markdown: 8.27 (#11)
- HTML: 8.17 (#13)
Markdown | ######## 8.27
HTML | ######## 8.17
何时选择Markdown
Documentation, Technical Writing, Publishing. Markdown 是一种Markup编程语言,首次出现于 2004 年,由 John Gruber 设计。主要应用场景:Documentation, Technical Writing, Publishing。
何时选择HTML
Data Serialization, Configuration, Interchange. HTML 是一种Declarative, Markup编程语言,首次出现于 1993 年,由 Tim Berners-Lee 设计。主要应用场景:Data Serialization, Configuration, Interchange。
Hello World 示例
Markdown:
# Hello, World!
HTML:
<!DOCTYPE html><p>Hello, World!</p>