markdown-map
Reviewed
at commit 39335b2
Build a heading outline with source line numbers.
0 upvotes
Log in to upvote or save- Made by
- Yash Thakker
- Pinned commit
-
39335b2d1e5885573fabbb98ef2dd4c49f011f86 - What we checked
-
Adds a /markdown-map command that opens a pane with an indented outline of the headings in a Markdown file (default README.md, up to 256 KiB), with source line numbers. It reads only that file when you open or refresh it, makes no network calls, runs no programs and stores nothing.
Review details
Static review of the source at the pinned commit; not run. Registers session.start (to register the markdown-map command), command.run (filtered to markdown-map) and ui.render for its own pane. Runtime calls: $.command.register, $.fs.stat, $.fs.read (read-only, size capped at 262144 bytes, path from the command argument or the pane input, rejected only when empty, starting with a dash or containing control characters), $.ui.open, $.ui.invalidate, $.ui.resolve. Headings are extracted line by line with regular expressions, skipping fenced code blocks. Output is stripped of control characters and truncated to 9000 characters. Errors are caught and shown in the pane. No writes, no network, no process execution. No npm dependencies.
- What it uses
-
- Reads your prompts: no
- Sees tool calls: no
- Blocks or changes tool calls: no
- Reads or writes files: yes
- Runs programs on your machine: no
- Calls the model (uses tokens): no
- Sends data over the network: no
- Stores data: no
- Shows something on screen: yes
- Hooked events
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/markdown-map/)