dart_markdown 3.1.7 dart_markdown: ^3.1.7 copied to clipboard
A portable Markdown library written in Dart that can parse Markdown into AST and HTML.
import 'package:dart_markdown/dart_markdown.dart';
void main() {
final markdown = Markdown();
// AST nodes.
final nodes = markdown.parse('Hello **Markdown**!');
// Convert to an HTML string.
final html = nodes.toHtml();
print(html);
//=> <p>Hello <strong>Markdown</strong>!</p>
}