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
const intoHtml = require('into-html');
<script type="module">
import slackPostIntoHtml from 'https://cdn.skypack.dev/slack-post-into-html';
</script>
const intoHtml = require('into-html');
const html = intoHtml([
{type, text},
{type, text},
{type, text},
// ...
]);