html2md 0.1.2 copy "html2md: ^0.1.2" to clipboard
html2md: ^0.1.2 copied to clipboard

outdatedDart 1 only

Convert html to markdown in Dart.

html2md #

Convert html to markdown in Dart. A simplify version of node's turndown.

Created from templates made available by Stagehand under a BSD-style license.

Usage #

A simple usage example:

import 'package:html2md/html2md.dart' as hm;

main() {
  var html = '<h1>HTML2MD Demo</h1>';
  print(hm.convert(html));
}

Test #

pub run test/html2md_test.dart

Features and bugs #

Please file feature requests and bugs at the issue tracker.

54
likes
0
pub points
95%
popularity

Publisher

unverified uploader

Convert html to markdown in Dart.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

html, path

More

Packages that depend on html2md