Generate a markdown TOC (table of contents) in atom editor using Markdown-TOC and Remarkable.
- Installation
- Features
2.1. Example (this Table Of Contents) - Contributing
- Author
- License
- Repeated heading example
6.1. Heading
6.1.1. Sub-heading
6.1.1.1. Sub-sub-heading
6.2. Heading
6.2.1. Sub-heading
6.2.1.1. Sub-sub-heading
6.3. Heading
6.3.1. Sub-heading
6.3.1.1. Sub-sub-heading
apm install atom-mdtoc
- Auto linking via anchor tags
- Depth control e.g.
maxDepth:6
- Refresh list on save with
updateOnSave:1
(disable withupdateOnSave:0
) - Exclude the first h1-level heading in a file with
firsth1:0
(include withfirsth1:1
) - Use spaces instead of bullets with
bullets:0
(use bullets withbullets:1
) - Use a flatten list instead of a tree with
flatten:1
(use tree withflatten:0
) - Header numbering with
numbering:1
(disable withnumbering:0
) - Works with repeated headings (see also this Table Of Contents)
<!-- MDTOC maxdepth:6 firsth1:0 numbering:1 flatten:0 bullets:1 updateOnSave:0 -->
- 1. [Installation](#installation)
- 2. [Features](#features)
- 2.1. [Example (this Table Of Contents)](#example-this-table-of-contents)
- 3. [Contributing](#contributing)
- 4. [Author](#author)
- 5. [License](#license)
- 6. [Repeated heading example](#repeated-heading-example)
- 6.1. [Heading](#heading)
- 6.1.1. [Sub-heading](#sub-heading)
- 6.1.1.1. [Sub-sub-heading](#sub-sub-heading)
- 6.2. [Heading](#heading-1)
- 6.2.1. [Sub-heading](#sub-heading-1)
- 6.2.1.1. [Sub-sub-heading](#sub-sub-heading-1)
- 6.3. [Heading](#heading-2)
- 6.3.1. [Sub-heading](#sub-heading-2)
- 6.3.1.1. [Sub-sub-heading](#sub-sub-heading-2)
<!-- /MDTOC -->
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Marco Stolze
Copyright © 2016 Marco Stolze. Released under the MIT license.
This is a heading
This is an sub heading
This is a sub sub heading
This is a heading
This is a sub heading
This is a sub sub heading
This is a heading
This is a sub heading
This is a sub sub heading