commit | cd02909ed72f1aeffeea345e751e987a5941403d | [log] [tgz] |
---|---|---|
author | Kevin Moore <github@j832.com> | Thu Dec 18 14:09:32 2014 -0800 |
committer | Kevin Moore <github@j832.com> | Thu Dec 18 14:09:32 2014 -0800 |
tree | ad479e6e934efa9932aa06c3aadbfdbcf7a77fe1 | |
parent | d956a297dbb8e1a8dea14f45750408e20f335019 [diff] |
remove unused local variables
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> }