This is a standalone version of the dartdoc markdown library. It parses markdown and converts it to HTML.
Add this to your pubspec.yaml
(or create it):
dependencies: markdown: any
Then run the Pub Package Manager (comes with the Dart SDK):
pub install
import "package:markdown/markdown.dart" show markdownToHtml; main() { print(markdownToHtml("Hello *Markdown*")); }