NewsCrawler.org

Words: a fast Markdown renderer that shows AI replies as they stream

Words: a fast Markdown renderer that shows AI replies as they stream
Image: news.hada.io

Words is a fast Markdown renderer from Pierre Computer Company, which OpenAI is set to acquire. It renders Markdown while an AI model is still generating its answer, so formatted text appears before the full response is finished. Unclosed bold, code and link syntax are handled during streaming, and late link references and footnotes are added when they arrive. The renderer is written in WebAssembly Text (WAT)[1], and its core outputs HTML or ANSI for terminals with no external dependencies at run time. It supports CommonMark[2] and GitHub Flavored Markdown, adds syntax highlighting to code being generated, renders TeX formulas as SVG, and runs in browsers, Node.js and Cloudflare Workers. According to its own gzip benchmark, the default React renderer is 65% smaller than Streamdown, and the project is licensed under Apache-2.0.

Read the original diffs.comDiscussion on GeekNews

Sources

  • KRGeekNews KO

    Words - AI 응답을 실시간으로 표시하는 고속 Markdown 렌더러

    6 points0 comments

Published: First seen: Читать по-русски

Open as a page