Overview
A Flutter/Dart package that converts HTML content to Markdown format, supporting CommonMark standards, basic table rendering, and customizable conversion rules. It is ideal for applications needing to transform rich HTML text into clean, readable Markdown, such as in content editors, documentation tools, or blog platforms. The library is compatible across all major platforms including Android, iOS, Web, macOS, Windows, and Linux, making it versatile for cross-platform development. Its extensibility allows developers to define custom parsing logic for specific use cases.
Use cases
- Converting HTML emails to Markdown
- Rendering blog posts from HTML sources
- Building content editors with Markdown output
- Transforming user-generated HTML into structured Markdown
Key features
- Supports CommonMark specification
- Handles simple tables
- Customizable conversion rules
- Cross-platform compatibility
- Lightweight and easy to integrate
Suitable for
- Content management systems
- Documentation generators
- Markdown-based note-taking apps
- Apps processing user-submitted HTML
Considerations
- Limited support for complex HTML structures
- Custom rules require additional implementation
- May not preserve all HTML styling attributes
- Not optimized for very large HTML documents