@streamdown/code@1.1.1

cheshire-cat-ai/core@streamdown/code@1.1.1Mar 17, 2026

AI Summary

Added fallback to plain text highlighting for unknown or truncated code block languages to prevent Shiki from throwing errors.

Key Highlights

  • Fallback to plain text highlighting for unknown languages
  • Prevents Shiki from throwing errors on unsupported language names

New Features

  • Robust error handling for code highlighting

Full Release Notes

### Patch Changes

-   651873d: Fall back to plain text highlighting when the code block language identifier is unknown or truncated mid-stream, preventing Shiki from throwing on unsupported language names.