CmdID

CmdID / Commands

treemd

View markdown files with tree-based navigation and an interactive TUI. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Open a markdown file in interactive TUI mode

treemd path/to/file.mdIdentify

List all headings in a markdown file

treemd --list path/to/file.mdIdentify

Show the heading tree structure of a markdown file

treemd --tree path/to/file.mdIdentify

Extract a specific section by heading name

treemd --section heading_name path/to/file.mdIdentify

Filter headings by a specific pattern

treemd --list --filter pattern path/to/file.mdIdentify

Query and extract markdown structure using the treemd query language

treemd --query '.h2 | text' path/to/file.mdIdentify