slack-post-into-htmldeprecated

const intoHtml = require('into-html');

Usage no npm install needed!

<script type="module">
  import slackPostIntoHtml from 'https://cdn.skypack.dev/slack-post-into-html';
</script>

README

slack post into html

usage

const intoHtml = require('into-html');

const html = intoHtml([
  {type, text},
  {type, text},
  {type, text},
  // ...
]);

features

tags

  • h1
  • h2
  • h3
  • p
  • ul
  • ol
  • pre
  • cl (check list)
  • unfurl

formats

  • link
  • b
  • i
  • strike