PhoenixStreamdown is a streaming markdown renderer for Phoenix LiveView, designed specifically for LLM token output. It uses server-side rendering with zero client-side JavaScript by leveraging LiveView's DOM diffing. The library splits markdown into independent blocks, auto-closes incomplete syntax during streaming, and uses

2m read time From github.com
Post cover image
Table of contents
InstallationUsageHow it worksExampleDocumentationLicense

Sort: