simple-contents

0.0.9 • Public • Published

Simple Contents

Generate a contents block based on headings in your post / article.

Example

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');

Readme

Keywords

Package Sidebar

Install

npm i simple-contents

Weekly Downloads

1

Version

0.0.9

License

MIT

Unpacked Size

4.5 kB

Total Files

4

Last publish

Collaborators

  • kickthemooon