PackageTrack
Sign in Get early access

gpt_markdown

Powerful Flutter Markdown & LaTeX Renderer: Rich Text, Math, Tables, Links, and Text Selection. Ideal for ChatGPT, Gemini, and more.

1.2.1 154K downloads/mo #950 most downloaded on pub.dev Infinitix-LLC/gpt_markdown

What this package is like to depend on

Last release today

23 Aug 2026

Release timing varies

gaps range from 9 days to 4 months

Nearly every release is documented

notes for 58 of 58 stable releases

Nothing withdrawn

no release was ever pulled

3 years old

58 releases · first in 2024

7 releases in the last 12 months

see the full history below

Release timeline

58 releases · Feb 2024 to Aug 2026
2025 2026
Release Pre-release

Releases

latest 58
  1. 1.2.1 23 Aug 2026
    Release notes

    Changed

    • Radio list markers use RadioGroup instead of Radio.groupValue and Radio.onChanged, which Flutter deprecated in 3.32. No visual or behavioural change — the marker looks and responds exactly as before.
    • Minimum Flutter is now 3.32.0, the release RadioGroup was added in.

    Added

    • InlinePattern.delimited for tokens that open and close, such as :emoji:, ::spoiler:: or {{token}} — the counterpart to InlinePattern.prefixed, which cannot express a closing delimiter. The token name is the named group name. See docs/inline-syntax.md.
    Open source →
  2. 1.2.0 23 Aug 2026
    Release notes

    Upgrading from 1.1.x? See MIGRATION.md.

    Changed

    • Deprecated highlightBuilder. Use inlineCodeStyle for appearance, or inlineCodeBuilder for full control. It still works, is now aligned on the text baseline, and will be removed in 2.0.0.
    • Inline code renders as a monospace chip that wraps across lines. Restyle with inlineCodeStyle.
    • Autolinking is on by default. Disable with autolink: false, and remove any pre-processor that rewrites bare URLs.
    • ImageMd, TableMd and ATagMd no longer render inside link labels. Custom components opt out with scopes.
    • Malformed links and unclaimed matches render as plain text instead of being dropped silently.
    • Component dispatch is anchored as ^(?:pattern)$, so a pattern containing a top-level | no longer claims matches it does not cover.
    • Case-insensitive component patterns now match.
    • Tests using find.byType(RichText) need find.byWidgetPredicate((w) => w is RichText) — some paragraphs render as a RichText subclass.

    Added

    • Streaming reveal for generated replies, off by default: GptMarkdown(text, animation: GptMarkdownAnimation.fade, isStreaming: true). Only the part of the reply that can still change is rebuilt, so the cost per token stays flat as the reply grows. The reveal keeps up with a fast model, fast-forwards when isStreaming turns false, and honours reduced motion. See docs/streaming.md.
    • GptMarkdownStyleSheet with twelve per-component style classes, settable per widget or app-wide on GptMarkdownThemeData. Unset fields keep the previous defaults.
    • Builders for every component: blockQuoteBuilder, headingBuilder, checkboxBuilder, radioOptionBuilder, hrBuilder.
    • Callbacks onCheckboxChanged, onCodeCopy, onImageTap, onSourceTagTap.
    • InlinePattern for app-specific inline syntax such as @mention, #channel and :emoji:, with InlinePattern.prefixed for the common case.
    • MarkdownScope and MarkdownComponent.scopes — components declare which nesting contexts they render in.
    • Autolinks following the GFM autolink extension and CommonMark §6.5, with autolinkSchemes for app schemes.
    • GptMarkdownConfig and the builder typedefs are exported from the main import.

    Fixed

    • Text scaling: components rendered through a WidgetSpan reserved up to 39x the space they needed at a 2x system font setting. Every component now scales proportionally.
    • Theme changes did not repaint — colours are resolved when spans are built, and the cache was not invalidated.
    • GptMarkdownConfig.isSame ignored several fields, so runtime changes to components, inline patterns and styles did nothing.
    • Inline widgets in right-to-left paragraphs render in visual order (flutter#54400).
    • GptMarkdownConfig.getRich returns Widget instead of Text.
    Open source →
  3. 1.1.8 16 Jul 2026
    Release notes

    fixed consecutive links separated by single newlines not redering

    Open source →
    Release notes
    • 🔗 Fixed consecutive links separated by single newlines not rendering (#142).
    Open source →
  4. 1.1.7 10 May 2026
    Release notes
    • Added/updated the interactive playground and pub.dev example flow, with playground.dart as a dedicated playground entry and improved demo content for links, lists, blockquotes, tables, and LaTeX.
    • Updated package metadata: bumped to 1.1.7, set homepage to gptmarkdown.com, and added repository + issue_tracker.
    • Bumped flutter_math_fork to ^0.7.4 for Flutter 3.35+ compatibility.
    • Fixed bold markdown rendering across newlines by enabling dotAll in BoldMd.
    • Fixed link styling so underline/color (including hover color) apply consistently across nested inline spans (bold/italic) inside links via LinkSpanBuilder.
    • Extended imageBuilder to receive parsed size metadata from markdown image syntax (context, imageUrl, width, height).
    • Resolved deprecated radio API usage by wrapping Radio<bool> with RadioGroup in custom radio rendering.
    • Cleaned up and corrected docs/example markdown content for the updated API and examples.
    Open source →
  5. 1.1.6 03 Apr 2026
    Release notes
    • Added hrLinePadding to GptMarkdownThemeData (default EdgeInsets.zero), wired through the public factory, copyWith, and lerp, for padding around horizontal rules and the optional line after # headings.
    • Added autoAddDividerLineAfterH1 to GptMarkdownThemeData (default true), with the same factory / copyWith / lerp support, so the extra divider after a level-1 heading can be toggled from theme data.
    • Added padding to CustomDivider (default EdgeInsets.zero); the render object lays out and paints the stroke inside those insets and uses the constrained width when drawing.
    • Added GptMarkdownThemeData.isSame to compare every field on the theme data type.
    • HTag and HrLine use hrLineColor, hrLinePadding, and autoAddDividerLineAfterH1 from GptMarkdownTheme.of(context) for the horizontal line widgets.
    Open source →
  6. 1.1.5 22 Dec 2025
    Release notes
    • Fixed block latex markdown syntax.
    Open source →
  7. 1.1.4 06 Sep 2025
    Release notes
    • 🔗 Fixed vertical alignment issue with link text rendering (#92)
    • 📝 Resolved "null" rendering issue in ordered lists with multiple spaces and line breaks (#89)
    • 🧹 Removed erroneous trim() from CodeBlockMd to preserve necessary whitespace in code blocks (#99)
    • 🎨 Fixed heading style customization issue where custom colors in heading styles were not being applied (#95)
    Open source →
  8. 1.1.3 28 Aug 2025
    Release notes
    • Added RadioGroup widget for managing radio buttons.
    • Updated to align with Flutter 3.35 by resolving the deprecations of Radio.groupValue and Radio.onChanged.
    Open source →
  9. 1.1.2 04 Jul 2025
    Release notes
    • 📊 Fixed table column alignment support (#65)
    • 🎨 Added tableBuilder parameter to customize table rendering
    • 🔗 Fixed text decoration color of link markdown component
    Open source →
  10. 1.1.1 29 Jun 2025
    Release notes
    • 🖼️ Fixed issue where images wrapped in links (e.g. [![](img)](url)) were not rendering properly (#72)
    • 🔗 Resolved parsing errors for consecutive inline links without spacing (e.g. [a](url)[b](url)) (#34)
    Open source →
  11. 1.1.0 24 Jun 2025
    Release notes
    • Changed onLinkTab to onLinkTap fixed issues of newLine issues.
    Open source →
  12. 1.0.20 12 Jun 2025
    Release notes
    • Fix: support balanced parentheses in image and link URLs. #68
    Open source →
  13. 1.0.19 17 May 2025
    Release notes
    • Performance improvements.
    Open source →
  14. 1.0.18 27 Apr 2025
    Release notes
    • dollarSignForLatex is added and by default it is false.
    Open source →
  15. 1.0.17 23 Apr 2025
    Release notes
    • Bloc components rendering inside table.
    Open source →
  16. 1.0.16 18 Mar 2025
    Release notes
    • IndentMd and BlockQuote fixed.
    • Baseline of bloc type component is fixed.
    • block quote support improved.
    • custom components support added.
    • Table syntax improved.
    Open source →
  17. 1.0.15 14 Mar 2025
    Release notes
    • Performance improvements.
    Open source →
  18. 1.0.14 14 Mar 2025
    Release notes
    • Added orderedListBuilder and unOrderedListBuilder parameters to customize list rendering.
    Open source →
  19. 1.0.13 13 Mar 2025
    Release notes
    • Fixed issue #49.
    Open source →
  20. 1.0.12 07 Mar 2025
    Release notes
    • imageBuilder parameter added.
    Open source →
  21. 1.0.11 15 Feb 2025
    Release notes
    • dart format.
    Open source →
  22. 1.0.10 15 Feb 2025
    Release notes
    • pubspec flutter version updated.
    Open source →
  23. 1.0.9 14 Feb 2025
    Release notes
    • Fixed issues with flutter 3.29.0.
    • Fixed > syntax render issue.
    Open source →
  24. 1.0.8 09 Feb 2025
    Release notes
    • Extra lines inside block latex removed and $$..$$ syntax works with (..) syntax.
    Open source →
  25. 1.0.7 02 Feb 2025
    Release notes
    • closed parameter added to codeBuilder.
    Open source →
  26. 1.0.6 11 Jan 2025
    Release notes
    • _italic_ and >Indentation syntax added.
    • linkBuilder and highlightBuilder added f45132b.
    Open source →
  27. 1.0.5 09 Jan 2025
    Release notes
    • Fixed the order of inline and block latex in markdown.
    Open source →
  28. 1.0.4 08 Jan 2025
    Release notes
    • Fixing latex issue for block syntax.
    Open source →
  29. 1.0.3 28 Dec 2024
    Release notes
    • Multiline latex syntax bug fix.
    Open source →
  30. 1.0.2 27 Dec 2024
    Release notes
    • Readme updated.
    Open source →
  31. 1.0.1 27 Dec 2024
    Release notes
    • Indentation fixed
    • ATag syntax fixed
    • Documentation improved in readme and example.
    Open source →
  32. 1.0.0 20 Dec 2024
    Release notes
    • TexMarkdown is renamed to GptMarkdown.
    • h1 to h6 style added to GptMarkdownThemeData class.
    • hrLineThickness value added to GptMarkdownThemeData class.
    • hrLineColor Color added to GptMarkdownThemeData class.
    • linkColor Color added to GptMarkdownThemeData class.
    • linkHoverColor Color added to GptMarkdownThemeData class.
    • Indentation improved.
    • Math equations are now default selectable.
    • SelectableAdapter Widget added to make any widget selectable.
    Open source →
  33. 0.1.15 18 Dec 2024
    Release notes
    • CodeBlock is moved out of gpt_markdown.dart library.
    Open source →
  34. 0.1.14 18 Dec 2024
    Release notes
    • Changed withOpacity to withAlpha in theme.dart for highlightColor.
    Open source →
  35. 0.1.13 18 Dec 2024
    Release notes
    • GptMarkdownTheme and GptMarkdownThemeData class moved to gpt_markdown.dart library.
    Open source →
  36. 0.1.12 16 Dec 2024
    Release notes
    • Fixed the indentation syntex of regex.
    Open source →
  37. 0.1.11 12 Dec 2024
    Release notes
    • GptMarkdownTheme and GptMarkdownThemeData classes added.
    Open source →
  38. 0.1.10 16 Nov 2024
    Release notes
    • components are now selectable.
    Open source →
  39. 0.1.9 13 Oct 2024
    Release notes
    • source config added.
    Open source →
  40. 0.1.8 02 Sep 2024
    Release notes
    • unordered list bullet color fixed.
    Open source →
  41. 0.1.7 05 Aug 2024
    Release notes
    • ordered list color fixed.
    Open source →
  42. 0.1.6 05 Aug 2024
    Release notes
    • overflow perameter added.
    Open source →
  43. 0.1.5 10 Jul 2024
    Release notes
    • Some color changes and highlighted text style changed.
    Open source →
  44. 0.1.4 10 Jul 2024
    Release notes
    • [source] format added.
    Open source →
  45. 0.1.3 29 Mar 2024
    Release notes
    • maxLines Parameter added.
    Open source →
  46. 0.1.2 13 Mar 2024
    Release notes
    • textStyle Parameter added to the latexBuilder function.
    Open source →
  47. 0.1.1 12 Mar 2024
    Release notes
    • Fixed hitTest essue.
    Open source →
  48. 0.1.0 12 Mar 2024
    Release notes
    • Inline Latex Builder added and Link are now Clickable and Latex Error Color changed to null for debug mode.

    • textScaleFector is removed and textScaler added

    Open source →
  49. 0.0.12 22 Feb 2024
    Release notes
    • codeBuilder method added [#6], and maked the table scrollable.
    Open source →
  50. 0.0.11 18 Feb 2024
    Release notes
    • New syntex added for codes and highlight.
    Open source →
  51. 0.0.10 17 Feb 2024
    Release notes
    • $$_$$ syntex fixes.
    Open source →
  52. 0.0.9 17 Feb 2024
    Release notes
    • $_$ syntex added for latex with a gard condition for \(_\).
    Open source →
  53. 0.0.8 17 Feb 2024
    Release notes
    • $_$ syntex added for latex with a gard condition for \(_\).
    Open source →
  54. 0.0.6 17 Feb 2024
    Release notes
    • Fixed textScaler problem by removeing that and added textScaleFector.
    Open source →
  55. 0.0.5 16 Feb 2024
    Release notes
    • Latex table workarround added.
    Open source →
  56. 0.0.4 15 Feb 2024
    Release notes
    • Customizable latex and workarround added.
    Open source →
  57. 0.0.2 15 Feb 2024
    Release notes
    • TextScaler and TextAlign added.
    Open source →
  58. 0.0.1 14 Feb 2024
    Release notes
    • This package will render response of chatGPT in flutter app.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive