-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Currently there are 3 popular markdown parser that are available in rust all of which offer their own set of pros/cons
- comrak
- markdown-rs
- pulldown_cmark
This issue is a tracking issue for evaluating pulldown_cmark. Currently, this is implemented in the branch feat/pulldown_cmark
Findings
- When rendering progit.md without syntax highlighting, it takes about 150ms as compared to 18ms compared to comrak
- There are some examples on how to add syntax highlighting using syntect that modifies the parser events directly
- There is a blog post suggesting that pulldown_cmark + syntax highlighting (tree-sitter) is the fastest available out there
- By default it's not XSS safe
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels