showdownjs / showdown

A bidirectional Markdown to HTML to Markdown converter written in Javascript
http://www.showdownjs.com/
MIT License
14.1k stars 1.57k forks source link

Handling Streaming Data #979

Open wamoyo opened 1 year ago

wamoyo commented 1 year ago

With ChatGPT and other AI systems getting very popular, it's become very valuable to parse markdown on chunk at a time, on the fly.

I started building this out, and then thought... I should post here first. Is anyone else working on this? Does showdown.js already do it?

itscvenk commented 5 months ago

+1

This is really needed for streaming features

One can interrupt the text on the fly on the backend and add the closing markdowns but this can get quite ugly

Pls consider this