JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 288
  • Score
    100M100P100Q96305F

Generate a markdown TOC (table of contents), using the [marked.js](https://github.com/chjj/marked) lexer and parser.

Package Exports

  • marked-toc

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (marked-toc) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

marked-toc NPM version Build Status

Generate a TOC (table of contents) for markdown files, using the marked.js lexer and parser.

Getting Started

Install the module with: npm install marked-toc

var makeTOC = require('marked-toc');
var file = makeTOC(fs.readFileSync('README.md'));

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Author

License

Copyright (c) 2013 Jon Schlinkert Licensed under the MIT license.


This file was generated on Fri Nov 08 2013 12:09:56.