slackify-html2

convert simple html to slack markdown

Usage no npm install needed!

<script type="module">
  import slackifyHtml2 from 'https://cdn.skypack.dev/slackify-html2';
</script>

README

slackify-html

convert html to slack markdown

example usage:

var slackify = require('slackify-html');

var text = slackify('this <a href="http://github.com">link</a> is <b>important</b>');
// text variable contains 'this <http://github.com|link> is *important*'