md-toc

Generate TOC (table of contents) of headlines from parsed markdown file

ponsfrilus

608

2

Bug Reports

0.13.0

MIT

GitHub

Markdown TOC

Generate and update magically a table of contents based on the headlines of a parsed markdown file in Atom.

This project is based on Darius Morawiec's markdown-toc and the jokinkuang's fork.

Table of Contents

Usage

Open Atom's command palette with Ctrl+Shift+P and search for TOC. As alternative, you can use the Packages > Markdown TOC menu, which is also available in the right click contextual menu (Toggle Markdown TOC).

Demo

Commands

Installation

apm install md-toc

or

cd ~/.atom/packages
git clone git@github.com:ponsfrilus/md-toc.git

Features

Configuration

To change the configuration, change the value in text (this is the default):

<!-- TOC titleSize:2 tabSpaces:2 depthFrom:1 depthTo:6 withLinks:1 updateOnSave:1 orderedList:0 skip:0 title:1 charForUnorderedList:* -->

and then update the TOC (shortcut is Ctrl+Alt+u).

Contributors

Thanks to all contributors for any fix or improvement, whether small or large.

Similar project

Questions?

Don't be shy and feel free to contact me on Twitter.

License

The package is Open Source Software released under the MIT license.