UNPKG

marked-toc

Version:

Generate a markdown TOC (table of contents).

59 lines 1.23 kB
{ "data": [ { "depth": "", "bullet": "* ", "heading": "Getting Started", "url": "getting-started" }, { "depth": "", "bullet": "* ", "heading": "Usage", "url": "usage" }, { "depth": "", "bullet": "* ", "heading": "API", "url": "api" }, { "depth": " ", "bullet": "* ", "heading": "toc.insert", "url": "tocinsert" }, { "depth": " ", "bullet": "* ", "heading": "toc.add", "url": "tocadd" }, { "depth": " ", "bullet": "* ", "heading": "toc.raw", "url": "tocraw" }, { "depth": "", "bullet": "* ", "heading": "Contributing", "url": "contributing" }, { "depth": "", "bullet": "* ", "heading": "Author", "url": "author" }, { "depth": "", "bullet": "* ", "heading": "License", "url": "license" } ], "toc": "* [Getting Started](#getting-started)\n* [Usage](#usage)\n* [API](#api)\n * [toc.insert](#tocinsert)\n * [toc.add](#tocadd)\n * [toc.raw](#tocraw)\n* [Contributing](#contributing)\n* [Author](#author)\n* [License](#license)\n" }