We’re exploring ways to improve how Markdown is rendered in our components during streaming.
@marcbouchenoire1.9K followers
89,142 views
25 Comments
Comments from the original post on X (Twitter)

@marcbouchenoire
This post from @mattpocockuk gives a great overview of the issues with Markdown streaming.
27 likes

@marcbouchenoire
<AiChat /> from @liveblocks will have this out-of-the-box, but we’ll also look into releasing it as a standalone package. 👀
42 likes

@ilias_yahia
we had a similar issue. solved by using a custom render using markdoc it also allowed us to stream stream component while showing a loading/fallback
10 likes

@michael_chomsky
lmaoooo this was literally a cursor interview question
10 likes

@mattpocockuk
Markdown tables is also pretty gnarly
10 likes

@marcbouchenoire
Yep, we’ve started with how they’re parsed but their actual layout is still on the list
7 likes

@swarajb
You auto-add the ending symbols?
4 likes

@branmcconnell
this is SO much better
2 likes

@tickinterstate
Markdown has become the de-facto language of LLMs but that’s more something we stumbled upon. What if you ditched markdown completely and switched to something like Typst instead? This could potentially alleviate a lot of markdown’s missing features *and* make things simpler.
2 likes

@ctnicholasdev
Amazing! Didn't realise you were working on this 👏 so good.
1 like

@shubham_arora_0
is the rendering speed the same?
1 like

@gilgNYC
Nice job
1 like

@rafsoh
its in the small things... 🫡
1 like

@nicoalbanese10
Incredible
1 like

@facundotech
Great approach 👏

@human_named_gui
i fuck with that a lot

@JohSch314
Looks great! Does it also handle LaTeX syntax for mathematical formulas?

@corychainsman
This reminds me of optimistic rendering between front- and back-ends. Neat!

@PavitraGolchha
Smooth 😍

@ZachSents
Looks great




