mixin_markdown_widget 0.3.3
mixin_markdown_widget: ^0.3.3 copied to clipboard
A desktop-first Flutter Markdown reader widget with theming and streaming-friendly controller APIs.
Changelog #
0.3.3 #
- Add
MarkdownController.parseDocumentand adocumentargument toMarkdownController, so an app can parse a document in an isolate before the widget builds. - Add
MarkdownController.highlightCodeBlocksandMarkdownController.cacheCodeHighlights, so an app can highlight the code blocks of a parsed document in an isolate. - Show cached code highlights in the first frame, instead of plain code followed by a rebuild of the document.
- Measure pretext text less: share width, line height, and tight text metrics measurements, measure each segment once per run, and merge plain fragments of a line.
0.3.2 #
- Hide HTML comments and GitHub review metadata in rendered and copied Markdown while preserving literal comments in code and escaped text.
- Preserve fallback text inside
relative-time,local-time, andtimeHTML elements. - Support self-closing HTML line breaks such as
<br/>, including inside expandable details. - Preserve source ranges and incremental streaming behavior around hidden HTML comments.
- Fix local images using absolute Windows paths being mistaken for URI schemes.
0.3.1 #
- mixin_markdown_widget: fix contextual inline styling
0.3.0 #
BREAKING CHANGE
- remove
MarkdownDocument.sourceTextfrom the public document model - add
MixinSelectionAreaand shared selection scope for composite selections - improve composite selection across quotes, lists, tables, and mixed selectable widgets
- improve inline code wrapping and decorated inline selection geometry
- improve incremental append parsing, footnote handling, and local image fallback
- add debug logging support and expand example and regression coverage
0.2.0 #
BREAKING CHANGE
- [mixin_markdown_widget]: improve text wrapping and boundary handling for decorated inline elements
- mixin_markdown_widget: improve block spacing logic and adjust theme defaults
- [mixin_markdown_widget]: improve code highlight cache with presentation signature
- [mixin_markdown_widget]: add horizontal scrolling support for wide tables and code blocks
- feat: enhance Markdown widget with new themes
- feat: add nested scrollable repaint listeners and viewport clipping for selection rects
- feat: add pub.dev metadata for mixin_markdown_widget
0.1.0 #
- Initial implementation