CenterForOpenScience/markdown-it-toc

Name: markdown-it-toc

Owner: Center for Open Science

Description: null

Created: 2015-02-12 18:17:02.0

Updated: 2018-05-07 08:15:42.0

Pushed: 2016-09-22 18:43:24.0

Homepage: null

Size: 270

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

markdown-it-toc

markdown-it plugin for adding a table of contents to markdown documents

Usage
Enable plugin
md = require('markdown-it')({
ml: true,
nkify: true,
pography: true
se(require('markdown-it-toc')); // <-- this use(package_name) is required
Example
c](Title)

Adding this tag with add anchors to each `<h[n]>tag on your document, and will add a ``


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.