v1.1.6 — 160/160 pub points · WASM ready

GPT Markdown

Markdown and LaTeX renderer for Flutter — built for AI-generated content. Drop in one widget and render ChatGPT, Gemini, or Claude responses beautifully.

See what it renders

Select a sample — this is exactly what your users will see.

Raw text from LLM
# Hello World

**Bold**, _italic_, and ~~strikethrough~~.

- Item one
- Item two
- Item three

> A blockquote with `inline code`

| Feature | Supported |
|---------|-----------|
| Tables  | ✅        |
| LaTeX   | ✅        |
GptMarkdown widget output

Hello World

Bold, italic, and strikethrough.

  • Item one
  • Item two
  • Item three
A blockquote with inline code
FeatureSupported
Tables
LaTeX

Everything you need

One widget. Full support for the content AI actually outputs.

Rich Markdown

Full spec — headings, tables, task lists, blockquotes, images, inline HTML, and more. Features other packages skip.

LaTeX Math

Built-in inline and block equations via flutter_math_fork. Supports both \( \) and $ $ syntax with no extra setup.

Code Highlighting

Syntax-highlighted blocks for Python, Dart, JS, and more — with full support for custom renderers.

AI-Ready

Handles the exact mixed Markdown + LaTeX that ChatGPT, Gemini, and Claude produce — no preprocessing needed.

Fully Customizable

Builder callbacks for every element. Override any component with your own widget, with RTL and selectable text built in.

WASM Ready

Compiles to WebAssembly for high-performance Flutter web. 160/160 pub points — production-grade quality guaranteed.

How does it compare?

The only Flutter Markdown package with built-in LaTeX and full AI output support.

Featuregpt_markdownflutter_markdown
LaTeX math (built-in)
Inline HTML (<u>, etc.)
AI output optimized
Custom builder callbacks
Selectable text
RTL support
Radio & checkbox inputs

Start in 30 seconds

Add the package, drop in the widget, done. Your AI responses render beautifully on every platform.

$flutter pub add gpt_markdown