mixin_markdown_widget 0.3.3 copy "mixin_markdown_widget: ^0.3.3" to clipboard
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.parseDocument and a document argument to MarkdownController, so an app can parse a document in an isolate before the widget builds.
  • Add MarkdownController.highlightCodeBlocks and MarkdownController.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, and time HTML 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.sourceText from the public document model
  • add MixinSelectionArea and 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.1 #

  • [mixin_markdown_widget] enhance Markdown rendering #476

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
2
likes
150
points
211
downloads

Documentation

API reference

Publisher

verified publishermixin.dev

Weekly Downloads

A desktop-first Flutter Markdown reader widget with theming and streaming-friendly controller APIs.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, flutter_math_fork, html, markdown, pretext, re_highlight

More

Packages that depend on mixin_markdown_widget