We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tried:
"scripts": { "toc": "markdown-toc -i readme.md" }
and npm run toc ... it seems like it does nothing...
npm run toc
The text was updated successfully, but these errors were encountered:
With the following readme.md:
readme.md
--- title: Foo --- <!-- toc --> # Heading ## Subheading
And package.json:
package.json
{ "dependencies": { "markdown-toc": "^1.2.0" }, "scripts": { "toc": "markdown-toc -i readme.md" } }
And running npm run toc, readme.md is changed to:
--- title: Foo --- <!-- toc --> - [Heading](#heading) * [Subheading](#subheading) <!-- tocstop --> # Heading ## Subheading
Things to check:
<!-- toc -->
<!-- tocstart --> <!-- tocstop -->
markdown-toc does not notify when or if it has done something to your document; it also doesn't really need to, but that would a nice-to-have.
markdown-toc
Sorry, something went wrong.
No branches or pull requests
Tried:
and
npm run toc
... it seems like it does nothing...
The text was updated successfully, but these errors were encountered: