Decision Workspace
cmark-syntax vs tree-sitter-highlight vs syntect
Side-by-side comparison of Rust crates
42
cmark-syntax
growingv0.6.0
Syntax highlighting for pulldown-cmark
73
tree-sitter-highlight
growingv0.26.7
Library for performing syntax highlighting with Tree-sitter
66
syntect
growingv5.3.0
library for high quality syntax highlighting and code intelligence using Sublime Text's grammars
Core Metrics
| cmark-syntax | tree-sitter-highlight | syntect | |
|---|---|---|---|
| Health Score | 42 | 73 | 66 |
| Total Downloads | 23.0K | 3.1M | 13.0M |
| 30d Downloads | 101 | 109.2K | 1.8M |
| Dependents | 18 | 1.0K | 7.0K |
| Releases | 15 | 47 | 49 |
| Last Updated | 437d ago | 13d ago | 181d ago |
| Age | 4y 3m | 7y 1m | 9y 9m |
Health Breakdown
cmark-syntax
Maintenance
7
Quality
11
Community
9
Popularity
5
Documentation
10
tree-sitter-highlight
Maintenance
18
Quality
13
Community
19
Popularity
8
Documentation
15
syntect
Maintenance
10
Quality
16
Community
19
Popularity
8
Documentation
13
Technical Details
| cmark-syntax | tree-sitter-highlight | syntect | |
|---|---|---|---|
| Version | 0.6.0 | 0.26.7 | 5.3.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | GPL-3.0-or-later | MIT | MIT |
| Dependencies | 5 | 4 | 23 |
| Crate Size | 21KB | 19KB | 833KB |
| Features | 1 | 0 | 14 |
| Yanked % | 13.3% | 2.1% | 6.1% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.84 | — |
| Owners | 1 | 3 (team) | 4 |
Links
Quick Verdict
- •tree-sitter-highlight leads with a health score of 73/100, but none of the options score above 80.
- •syntect has the most downloads (13.0M), suggesting wider adoption.
- •syntect is depended on by 7.0K crates — strongest ecosystem trust.
- •⚠ cmark-syntax has not been updated in over a year.
- •cmark-syntax, tree-sitter-highlight are pre-1.0 — API may change.