markd 0.5.0+3 copy "markd: ^0.5.0+3" to clipboard
markd: ^0.5.0+3 copied to clipboard

outdatedDart 1 only

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:

  1. LinkResolver replaces Resolver to provide more options.

  2. InlineSyntax introduces additional argument called caseSensitive.

  3. The header syntax requires a whitespace between # and the text. For example, # foo is a header, while #foo is not.

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*'));
}
2
likes
0
pub points
70%
popularity

Publisher

verified publisherquire.io

A fork of dart-markdown for converting markdown to HTML.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on markd