markdown-toc icon indicating copy to clipboard operation
markdown-toc copied to clipboard

API and CLI for generating a markdown TOC (table of contents) for a README or any markdown files. Uses Remarkable to parse markdown. Used by NASA/openmct, Prisma, Joi, Mocha, Sass, Prettier, Orbit DB,...

Results 91 markdown-toc issues
Sort by recently updated
recently updated
newest added

Hi Support Team, Links doesn't work with accentuated characters : ![image](https://user-images.githubusercontent.com/53435419/63693771-34f74700-c815-11e9-940b-9769eaa2bde0.png) ``` 1. [Aucun accent dans le titre OK](#aucun-accent-dans-le-titre-ok) 1. [Je suis un titre avec des caractères accentués KO](#je-suis-un-titre-avec-des-caracteres-accentues--ko) ```...

Seeing a npm warning about: ``` npm WARN deprecated [email protected]: CoffeeScript on NPM has moved to "coffeescript" (no hyphen) ``` Looks like [gray-matter v4 updated](https://github.com/jonschlinkert/gray-matter/blob/master/package.json#L45) to use `coffeescript` instead of...

Input: ```md ## Usage with [`@lume/element`](https://github.com/lume/element) ``` Expected output: ``` * [Usage with [`@lume/element`](https://github.com/lume/element)](#usage-with-lumeelement) ``` Actual output: ``` * [Usage with [`@lume/element`](https://github.com/lume/element)](#usage-with-lumeelementhttpsgithubcomlumeelement) ``` The slug does not have only the...

Using the `--no-stripHeadingTags`: Input: ```md ## The `` element ``` Expected output: ``` * [The `` element](#the-log-in-element) ``` Actual output: ``` * [The `` element](#the-log-in-element) ``` --- Without the `--no-stripHeadingTags`...

Current Output: ```bash echo "# List of Tasks {#list-of-task}" | markdown-toc - - [List of Tasks {#list-of-task}](#list-of-tasks-%23list-of-task) ``` Desired Output: ```bash echo "# List of Tasks {#list-of-task}" | markdown-toc -...

I'm using this tool for my README here: https://github.com/simonw/datasette-graphql/blob/main/README.md That's for a Python tool that is published to PyPI, and the README on PyPI is rendered on this page: https://pypi.org/project/datasette-graphql/...

` import { Remarkable } from 'remarkable'; import toc from 'markdown-toc'; ` 它提示 `Unhandled Rejection (Error): Cannot find module 'remarkable'`

`res.content` is fine, `res.json` stays the same regardless the options. As a result: - `firsth1` is not excluded from the `res.json` - `maxdepth` is not taken into account in `res.json`...

I am creating a custom TOC to fix #104 for me; however, it's not that easy. ```javascript var toc = require('markdown-toc'); var md = '# heading\n## heading 2\n### heading 3';...

docs

Input: ```markdown Working with the project in IntelliJ IDEA ``` Output: ``` content: " Working with the project in IntelliJ IDEA" slug: "-working-with-the-project-in-intellij-idea" ```