0.8.0
Ignore underscores in the middle of words.

Fix #41.

R=sethladd@google.com

Review URL: https://codereview.chromium.org//1340143003 .
4 files changed
tree: a8476b1b9ca48f3bd407b6e11fd6165518cc1ff6
  1. .gitignore
  2. AUTHORS
  3. CHANGELOG.md
  4. LICENSE
  5. README.md
  6. benchmark/
  7. lib/
  8. pubspec.lock
  9. pubspec.yaml
  10. 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>
}