README
hast-wrap-headings
Wrap flat html tag list (from markdown ast) with section divs for different levels
Usage
const wrapHeadings = require('@arcblock/hast-wrap-headings');
// TODO: DEMONSTRATE API
wrap flat hast from mdast with section divs for different heading tags
<script type="module">
import arcblockHastWrapHeading from 'https://cdn.skypack.dev/@arcblock/hast-wrap-heading';
</script>
hast-wrap-headingsWrap flat html tag list (from markdown ast) with section divs for different levels
const wrapHeadings = require('@arcblock/hast-wrap-headings');
// TODO: DEMONSTRATE API