Skip to content
Search

Shiki-Stream

lastmod 2025-04-08created 2025-04-081 edits

Streaming highlighting with Shiki. Useful for highlighting text streams like LLM outputs.

Streaming code syntax highlighting for LLM output

Features

  • An open-source library that uses Shiki to enable real-time code highlighting in a streaming fashion
  • Can apply highlighting to incrementally generated code, especially LLM output streams
  • Provides a Transform Stream for highlighting text streams in real time
  • Can render directly as Vue and React components
  • Finer-grained highlighting control through the recall feature
  • Provides a cached renderer for performance optimization (experimental feature)

See also

Favorite site

author Zer0 sitemap