@streamdown/code@1.1.1
labring/FastGPT@streamdown/code@1.1.1Mar 17, 2026
AI Summary
A patch release improving stability by adding fallback text highlighting when code block languages are not recognized.
Key Highlights
- Falls back to plain text highlighting when the code block language identifier is unknown or truncated.
- Prevents Shiki from throwing errors on unsupported or incomplete language names.
New Features
- Fallback text highlighting for unknown languages
- Graceful handling of truncated language identifiers
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.