Clone this repo:
  1. f2eb816 test: removed unused argument to validate by Kevin Moore · 2 years, 9 months ago master
  2. 56b0fd6 updated version and added CHANGELOG by Kevin Moore · 2 years, 9 months ago v0.7.1+2
  3. 21b53f1 readme cleanup by Kevin Moore · 2 years, 9 months ago
  4. 632e502 tweaks by Kevin Moore · 2 years, 9 months ago
  5. ab6a154 code formatting by Kevin Moore · 2 years, 9 months ago

A portable markdown library written in Dart. It can parse markdown into html on both the client and server.

Usage

import 'package:markdown/markdown.dart';

void main() {
  print(markdownToHtml('Hello *Markdown*'));
  //=> <p>Hello <em>Markdown</em></p>
}

You can create and use your own syntaxes.

import 'package:markdown/markdown.dart';

void main() {
  var syntaxes = [new TextSyntax('nyan', sub: '~=[,,_,,]:3')];
  print(markdownToHtml('nyan', inlineSyntaxes: syntaxes));
  //=> <p>~=[,,_,,]:3</p>
}