Simple Contents
Generate a contents block based on headings in your post / article.
Installation
NPM
npm install simple-contents
Browser
<script src="https://cdn.jsdelivr.net/npm/simple-contents@latest/index.umd.js"></script>
Usage
Module
import simpleContents from 'simple-contents';
simpleContents.init('sourceSelector', 'targetSelector');
Browser
SimpleContents.init('sourceSelector', 'targetSelector');