commit | 5a2df14e617f9762b425395678999ce2f145ea2b | [log] [tgz] |
---|---|---|
author | Kevin Moore <github@j832.com> | Thu Dec 18 14:13:20 2014 -0800 |
committer | Kevin Moore <github@j832.com> | Thu Dec 18 14:13:20 2014 -0800 |
tree | 20378e333b26d7772580a04958d1b23a60a6c451 | |
parent | cd02909ed72f1aeffeea345e751e987a5941403d [diff] |
eliminate warnings in analyzer
This is a portable markdown library written in dart. It can parse markdown into html on both the client and server.
You can find the installation directions here.
import 'package:markdown/markdown.dart' show markdownToHtml; main() { print(markdownToHtml('Hello *Markdown*')); //=> <p>Hello <em>Markdown</em></p> }
You can create and use your own syntaxes!
import 'package:markdown/markdown.dart'; main() { List<InlineSyntax> syntaxes = [new TextSyntax('nyan', sub: '~=[,,_,,]:3')]; print(markdownToHtml('nyan', inlineSyntaxes: syntaxes)); //=> <p>~=[,,_,,]:3</p> }