Skip to content

Releases: foresightmobile/flutter_markdown_plus

v1.0.12

Choose a tag to compare

@gazreese gazreese released this 10 Jul 13:16
75d08fd
  • Added golden render regression tests for the Markdown widgets, covering text formatting, emphasis, blockquotes, lists, tables, task lists, and code blocks. They render with real fonts and run in the local flutter test suite; like the existing image goldens they are platform-specific, and are skipped on CI (whose Flutter stable channel is unpinned) to avoid flaky pixel-exact diffs when the toolchain drifts
  • Documentation: the 1.0.11 README overhaul documented the previously undocumented onTapLink and styleSheet APIs, resolving #123

v1.0.11

Choose a tag to compare

@gazreese gazreese released this 07 Jul 16:12
fed25ea
  • Overhauled the README: added a feature list, installation instructions, a widget comparison (Markdown / MarkdownBody / MarkdownRaw), and code examples for link handling (onTapLink), MarkdownStyleSheet styling, and custom element builders
  • Added screenshots to the pub.dev listing showcasing rich-text formatting, GitHub Flavored Markdown tables and task lists, and code blocks
  • Pointed the documentation link at the generated API docs on pub.dev

v1.0.10

Choose a tag to compare

@gazreese gazreese released this 07 Jul 15:26
d726f0d
  • Added a contextMenuBuilder parameter to Markdown and MarkdownBody, letting callers customise or suppress (pass null) the text-selection toolbar shown when selectable is enabled. Defaults to the platform-adaptive Flutter selection toolbar, so existing behaviour is unchanged (#134)
  • onSelectionChanged now reports the full selectable plain text via TextSpan.toPlainText(). Previously, paragraphs containing rich/nested inline spans (bold, italic, code, links) reported the top-level TextSpan.text, which was null for multi-child spans; callers now receive the complete text so TextSelection.textInside works as expected (#134)

Thanks to our contributors:

  • @momadvisor for the contextMenuBuilder parameter and plain-text selection fix (#134)

v1.0.9

Choose a tag to compare

@gazreese gazreese released this 07 Jul 15:26
33183c9
  • Fixed custom inline builders (e.g. a) duplicating trailing text when the element had multiple children, such as link text containing a _ or * delimiter that the parser splits into separate text nodes (#132)

Thanks to our contributors:

  • @Jess-Gabia for reporting the issue and identifying the fix (#132)
  • @amungi for confirming the fix in production

v1.0.8

Choose a tag to compare

@gazreese gazreese released this 07 Jul 15:26
97b1824
  • Fixed custom builders and paddingBuilders for the hr tag being ignored
  • Fixed bold, italic, and link formatting not rendering inside blockquotes
  • Forced a consistent line height within each text block so mixed font weights (e.g. bold) no longer shift line height, while headers and other blocks keep their own height
  • Updated the default blockquote styling to be theme-aware (uses surfaceContainerHighest with a primary-coloured left border) for better light/dark mode support
  • Added a noScroll option to the Markdown widget to render content in a non-scrolling Column for use inside an existing scroll view
  • Added an integration test suite (example/integration_test/) that runs on a device or emulator, covering link taps, scrolling, task-list checkboxes, text selection, and example app launch
  • Added scripts/integration_test.sh and a GitHub Actions job that runs the integration tests on an Android emulator
  • Migrated linting to package:flutter_lints, retaining strict type analysis and required public API documentation
  • Updated dependencies: markdown to ^7.3.1, mockito to ^5.7.0, and pinned leak_tracker_flutter_testing
  • Aligned the example app's Flutter constraint with the package and added a documentation link to the pubspec
  • Updated the example app's Android Gradle Plugin to 8.6.0 (Flutter's current minimum) and removed an unused Google Cloud Artifact Registry Gradle plugin
  • Excluded the locally symlinked flutter_markdown_plus_latex package from analysis and publishing

Thanks to our contributors:

v1.0.7

Choose a tag to compare

@gazreese gazreese released this 28 Dec 10:01
dc1185c
  • Improved pub.dev score by making example app source code available in published package
  • Updated .pubignore to only exclude build artifacts and generated files instead of entire example directory
  • Fixed linter warnings by removing unnecessary null default values in MarkdownStyleSheet
  • Added CLAUDE.md documentation for AI-assisted development
  • Enhanced README with package history and link to LaTeX support package
  • Standardized formatter configuration across project

v1.0.6

Choose a tag to compare

@gazreese gazreese released this 23 Dec 18:15
32e5dd5

Fix cursor behavior when using custom builder for anchor tags. The code now only manages _linkHandlers when there is no custom builder for anchor tags, preventing conflicts between the default link recognizer and custom builder widgets.
New properties introduced to MarkdownStyleSheet: tableHeadCellsPadding and tableHeadCelssDecoration.
Implemented automatic table content clipping to respect rounded borders when tableBorder specifies a border radius.

Many thanks to our contributors:

@mark-nicepants for fixing null pointer issues with custom builders
@jlandon for adding table header cell customisation features
@4rthurmonteiro for the link builder fix

v1.0.5

Choose a tag to compare

@gazreese gazreese released this 07 Jul 15:33
8486bea
  • Minor dependency updates to help with builds

v1.0.3

Choose a tag to compare

@gazreese gazreese released this 07 Jul 15:33
eda9c94
  • Add support for LaTeX rendering in markdown.

v1.0.1+1

Choose a tag to compare

@kravoleksii kravoleksii released this 03 Mar 12:50
0bf4a07

What's Changed

New Contributors

Full Changelog: https://github.com/foresightmobile/flutter_markdown_plus/commits/1.0.1