Today we're releasing a new streaming markdown parser called Words. It's built for any markdown, but it's especially useful for streamed llm responses.
@pierre/words is up to 2× faster than md4x, and 20× faster than streamdown. It supports DOM, HTML, and ANSI rendering. It has built in syntax highlighting and renders mermaid charts.
Check it out at https://t.co/nSN3H9Xglh
We learned a lot about Web Assembly Text (wat) while building @pierre/highlights and realized we could use the approach in a few other parse-constrained paths in our projects, like markdown rendering.
There's more to come, but for now enjoy these streaming diagrams!
@sabbatical@narrowd@devinjacoviello haha, appreciate the vote of confidence but pierre wasn’t hired for this. Nick and Devin previously worked at Stripe up until a few weeks ago and did the bulk of the work while employed by Stripe.