html-md.js

JavaScript library for converting HTML in to valid Markdown

Usage no npm install needed!

<script type="module">
  import htmlMdJs from 'https://cdn.skypack.dev/html-md.js';
</script>

README

html-md.js

Basically a compiled version of the original html-md (so no more coffeescript) + this pull#43 + few other changes

install

npm install html-md.js

usage

var md = require("html-md.js");
md("<b>foo</b>");

see original docs here: https://github.com/neocotic/html.md

wtf? why?

Because i found my self keep editing that fork in coffeescript, and 1 day I gave up, so, also the original repo doesn't seem active.