Our biggest release yet.
gpt_markdown 1.3.0 introduces a new rendering pipeline for fast,
production-grade AI output. Parsing is 3–9× faster than the legacy parser,
whole-frame rendering is up to 2× faster, and streaming performance stays
flat as responses grow.
At 12 KB, per-chunk streaming is 31× faster with GptMarkdown and 74×
faster with SliverGptMarkdown compared with 1.2.1. See the
benchmarks.
Nothing has been removed. Existing integrations continue to work, and
deprecated APIs remain supported until 2.0.0.
Added
plusparse: a new single-pass parser, enabled by default.
SliverGptMarkdown: lazy rendering for long documents and streaming
responses.
- Streaming animations: character reveals and block entrances with
configurable timing and curves.
- Modern extension APIs for custom block and inline syntax.
- Span-based builders for links, citations, and inline code.
- Syntax highlighting for nearly 200 languages, with a language label and
accessible copy button.
Changed
- Links now wrap naturally, align with surrounding text, and remain selectable.
- Block elements render independently, improving selection, scaling, and
bidirectional layouts.
Fixed
maxLines now limits the complete document, and paragraph line breaks are
preserved.
- Lists, quotes, tables, code blocks, images, and mathematics scale and style
consistently.
- Streaming accessibility no longer produces repeated announcement storms.
- Fixed numerous parsing, reveal-ordering, and streaming-stability issues.
Deprecated
The legacy regex parser remains fully functional, with removal planned
for 2.0.0.
The incremental argument is no longer needed. Replace components and
inlineComponents with blockComponents, inlinePatterns, or
inlineDirectives.
See MIGRATION.md for complete upgrade guidance.