macOS
brew install markdown-toclocal Homebrew formula metadata
brew / rank 5017
Generate a markdown TOC (table of contents) with Remarkable. Version 1.2.0 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#markdown-toc.
install
brew install markdown-toclocal Homebrew formula metadata
nix profile install nixpkgs#markdown-tocnixpkgs package indexes · pkgs/by-name/ma/markdown-toc/package.nix · source: api.github.com
overview
Generate a markdown TOC (table of contents) with Remarkable
history
markdown-toc is a Node.js API and CLI for generating and inserting tables of contents in Markdown files.
The GitHub repository was created in 2013. The README describes markdown-toc as a tool that uses Remarkable to parse Markdown and can be used from the command line or as an API/plugin.
The project belongs to the ecosystem of README automation tools around Jon Schlinkert's packages, Verb, and Assemble-style documentation workflows. Its own README is generated with Verb using markdown-toc, making the package self-demonstrating.
The official repository description says the package is used by many well-known projects and thousands of other projects. The README displays npm version/download badges and documents npm installation, while supplied package facts show Homebrew and Nix packaging as well.
The common CLI workflow is to install markdown-toc globally, add a hidden <!-- toc --> marker to a README, and run markdown-toc -i README.md to inject or update the generated TOC. Without in-place mode, the CLI can print a TOC to standard output or JSON.
As an API, markdown-toc returns rendered content plus token data so build scripts can render a custom table of contents. Options cover heading depth, bullet style, slugification, filtering, indentation, and whether to include the first H1.
markdown-toc is a classic small Unixy documentation helper: it reads Markdown, emits Markdown, and is easy to wire into README generation. Package maintainers care because it has a stable CLI surface and also doubles as a library for build-time documentation automation.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
markdown-toc | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:markdown-toc |
|---|---|
| Version | 1.2.0 |
| Package manager | Homebrew |
| Homepage | https://github.com/jonschlinkert/markdown-toc |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
markdown-toc
nix profile install nixpkgs#markdown-tocsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.