treemd
View markdown files with tree-based navigation and an interactive TUI. tldr-pages
On several platforms
Several platforms
Open a markdown file in interactive TUI mode
treemd path/to/file.mdIdentifyList all headings in a markdown file
treemd --list path/to/file.mdIdentifyShow the heading tree structure of a markdown file
treemd --tree path/to/file.mdIdentifyExtract a specific section by heading name
treemd --section heading_name path/to/file.mdIdentifyFilter headings by a specific pattern
treemd --list --filter pattern path/to/file.mdIdentifyQuery and extract markdown structure using the treemd query language
treemd --query '.h2 | text' path/to/file.mdIdentify