updated version and added CHANGELOG
2 files changed
tree: 4ebe3ad25d06d010d8b2146a5484848703be96c8
  1. .gitignore
  2. AUTHORS
  3. CHANGELOG.md
  4. LICENSE
  5. README.md
  6. lib/
  7. pubspec.yaml
  8. test/
README.md

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>
}