Fix syntax highlighting stderr spam with malformed markdown, fixes #274

This commit is contained in:
Mario Zechner 2025-12-22 00:23:01 +01:00
parent d5fd685901
commit 11e743373d
14 changed files with 183 additions and 43 deletions

View file

@ -2,6 +2,12 @@
## [Unreleased]
## [0.25.4] - 2025-12-22
### Fixed
- **Syntax highlighting stderr spam**: Fixed cli-highlight logging errors to stderr when markdown contains malformed code fences (e.g., missing newlines around closing backticks). Now validates language identifiers before highlighting and falls back silently to plain text. ([#274](https://github.com/badlogic/pi-mono/issues/274))
## [0.25.3] - 2025-12-21
### Added