1.4.0 • Published 3 years ago

tui-table-of-contents v1.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

tui.tableofcontents

npm (scoped) npm bundle size (minified)

A table of contents custom plugin for Toast UI. Render a table of contents in real-time.

Install

$ npm install @shreyravi/tui-table-of-contents

Usage

  1. Import the plugin:
import tableOfContentsPlugin from 'tui-table-of-contents';
  1. Insert into ToastEditor instance:
import { Editor } from '@toast-ui/react-editor';
...
      <Editor
          plugins={[tableOfContentsPlugin]}
      />
...
  1. Click on the "Toggle Table of Content" at end of Toolbar to show/hide the auto-generated table of contents.

License

MIT License. Open Source. Contact author with any concerns.

1.4.0

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago