@streamdown/code@1.1.1

zjunlp/OmniThink@streamdown/code@1.1.1Mar 17, 2026

AI Summary

This patch release improves stability by implementing a fallback to plain text highlighting when code language identifiers are unknown or truncated, preventing Shiki from throwing errors.

Key Highlights

  • Fallback to plain text highlighting for unknown languages
  • Prevents Shiki from throwing errors on unsupported language names
  • Handles truncated identifiers mid-stream

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.