html-to-slack-md
v1.0.0
Published
Convert simple html to slack markdown
Downloads
6
Maintainers
Readme
html-to-slack-md
Convert html to slack markdown. This is the same as slackify-html but uses cheerio
instead of htmlparser
.
Example usage:
var htmlToSlackMD = require("html-to-slack-md");
var text = htmlToSlackMD('this <a href="http://github.com">link</a> is <b>important</b>');
// text variable contains 'this <http://github.com|link> is *important*'