inkdropapp / inkdrop-toc

Markdown Table of Contents plugin for Inkdrop

Home Page:https://www.inkdrop.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Table of Contents for Inkdrop

A plugin for creating table of contents using remark-toc. It also works exported HTML files.

example

Install

Check out the docs on how to install plugins.

Command-line

ipm install toc

Usage

Simply add Table of Contents to your Markdown.

From remark-toc:

  • Looks for the first heading containing 'Table of Contents', 'toc', or 'table-of-contents' (case insensitive, supports alt/title attributes for links and images too)
  • Removes all following contents until an equal or higher heading is found
  • Inserts a list representation of the hierarchy of following headings
  • Adds links to following headings, using the same slugs as GitHub

About

Markdown Table of Contents plugin for Inkdrop

https://www.inkdrop.app/

License:MIT License


Languages

Language:JavaScript 100.0%