markd 0.5.0 markd: ^0.5.0 copied to clipboard
A fork of dart-markdown for converting markdown to HTML.
Dart Markdown Library #
A fork of David Peek's dart-markdown for easy customization of Markdown syntaxes.
Differences:
-
LinkResolver
replacesResolver
to provide more options. -
InlineSyntax
introduces additional argument calledcaseSensitive
.
Installation #
Add this to your pubspec.yaml
(or create it):
dependencies:
markd: any
Then run the Pub Package Manager (comes with the Dart SDK):
pub install
Usage #
import 'package:markdown/markdown.dart' show markdownToHtml;
main() {
print(markdownToHtml('Hello *Markdown*'));
}