markdown_editor_live
0.6.0, released 8 months ago by janekwenzlik.de
WYSIWYG markdown editor widget with live syntax highlighting
What it does
Provides a text field that renders markdown in real time, hiding syntax markers except on the current line. It supports auto‑continuing lists, tab indentation, and image tap callbacks.
AI-written summary of version 0.6.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a markdown editor with live preview in a Flutter app
- You want a simple, drop‑in widget without extra dependencies
- You need auto‑continuing lists and tab support for markdown editing
Skip it when
- You require extensive custom styling beyond TextStyle and InputDecoration
- You need a full markdown parser or rendering library for complex documents
- You are building a non‑Flutter platform
Strengths
- Live WYSIWYG editing with syntax hiding
- Auto‑continuing lists and tab indentation
- Customizable styling via TextStyle and InputDecoration
- Handles image taps via callback
Weaknesses
- Limited to markdown syntax only
- No support for advanced markdown features like tables or footnotes
- No built‑in link tap handling (only images)
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Add dependency in pubspec and import package; no special permissions or build_runner needed
import 'package:flutter/material.dart';
import 'package:markdown_editor_live/markdown_editor_live.dart';
class MyEditor extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MarkdownEditor(
initialValue: '# Hello World\n\nThis is **bold** and *italic*.',
onChanged: (text) => print('Content: $text'),
);
}
}Alternatives
Packages that do the same job and could replace markdown_editor_live.
- fleather
A clean, minimalistic and collaboration-ready rich text editor for Flutter.
80Compare - rich_editor
WYSIWYG rich text editor widget for Flutter using a WebView.
73Compare - flutter_smooth_markdown
High-performance markdown renderer and editor with syntax highlighting, LaTeX, tables, SVG, Mermaid, and real-time streaming.
61Compare - gpt_markdown
Powerful Flutter Markdown and LaTeX renderer built for AI streaming outputs.
94Compare