Skip to content

nju33/slack-post-into-html

Repository files navigation

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