treemd 0.5.6

A markdown navigator with tree-based structural navigation and syntax highlighting
Documentation
1
[?1049h_Gi=31,s=1,v=1,a=q,t=d,f=24;AAAA\treemd - README.md - 41 headings                                                                                                                                                                                                      ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┌ Outline ───────────────────────────────────┐┌ treemd ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐│► ▼ # treemd                                ↑│Crates.io Documentation License: MIT Build Status                                                                                                                                     ↑│      ## Table of Contents                  █│                                                                                                                                                                                      █│      ## Overview                           █│A markdown navigator with tree-based structural navigation. Like the tree command, but interactive—navigate markdown documents using an expandable/collapsible heading tree with a    █│    ▼ ## Features                           █│synchronized content view.                                                                                                                                                            █│        ### Interactive TUI                 █│                                                                                                                                                                                      █│        ### CLI Mode                        █│🖼 treemd screenshot showing dual-pane interface                                                                                                                                       █│    ▼ ## Installation                       █│                                                                                                                                                                                      █│        ### From crates.io                  █│Table of Contents                                                                                                                                                                     ║│        ### From source                     █│                                                                                                                                                                                      ║│        ### Package managers                █│  • Overview                                                                                                                                                                          ║│    ▼ ## Usage                              █│  • Features                                                                                                                                                                          ║│      ▼ ### TUI Mode (Interactive)          █│    • Interactive TUI                                                                                                                                                                 ║│          #### Keyboard Shortcuts           █│    • CLI Mode                                                                                                                                                                        ║│      ▼ ### CLI Mode (Non-Interactive)      █│  • Installation                                                                                                                                                                      ║│          #### List headings                █│  • Usage                                                                                                                                                                             ║│          #### Show heading tree            █│    • TUI Mode                                                                                                                                                                        ║│          #### Extract a section            █│    • CLI Mode                                                                                                                                                                        ║│          #### Filter and level options     █│    • Query Language                                                                                                                                                                  ║│          #### Count and JSON output        █│  • Releases                                                                                                                                                                          ║│      ▼ ### Query Language                  █│  • Configuration                                                                                                                                                                     ║│          #### Element Selectors            █│    • Basic Settings                                                                                                                                                                  ║│          #### Filters and Indexing         █│    • Custom Keybindings                                                                                                                                                              ║│          #### Pipes and Functions          █│    • Custom Theme Colors                                                                                                                                                             ║│          #### Hierarchy Operators          █│  • Contributing                                                                                                                                                                      ║│          #### Aggregation                  █│  • Roadmap                                                                                                                                                                           ║│          #### Output Formats               █│  • Why treemd?                                                                                                                                                                       ║│          #### Stdin Support                █│  • Similar Tools                                                                                                                                                                     ║│    ▼ ## Releases                           █│  • License                                                                                                                                                                           ║│        ### Pre-built Binaries              █│                                                                                                                                                                                      ║│        ### Building from Source            █│Overview                                                                                                                                                                              ║│    ▼ ## Configuration                      █│                                                                                                                                                                                      ║│        ### Basic Configuration             █│treemd is a modern markdown viewer that combines the structural clarity of the tree command with powerful interactive navigation. Whether you're exploring large documentation files, ║│        ### Custom Keybindings              █│analyzing markdown structure, or reading comfortably in your terminal, treemd provides both CLI tools for scripting and a beautiful TUI for interactive exploration.                  ║│        ### Custom Theme Colors             █│                                                                                                                                                                                      ║│        ### CLI Overrides                   ║│Use it to:                                                                                                                                                                            ║│      ## Contributing                       ║│                                                                                                                                                                                      ║│      ## Roadmap                            ║│  • Navigate large documents by collapsing/expanding heading sections                                                                                                                 ║│      ## Why treemd?                        ║│  • Search headings or full document content with highlighted matches                                                                                                                 ║│      ## Similar Tools                      ║│  • Edit tables, toggle checkboxes, and follow links—all without leaving the terminal                                                                                                 ║│      ## Acknowledgements                   ║│  • Extract specific sections or query markdown elements with a jq-like syntax                                                                                                        ║│      ## License                            ║│  • Pipe markdown from stdin for shell-scripted workflows                                                                                                                             ║│                                            ║│                                                                                                                                                                                      ║│                                            ║│Features                                                                                                                                                                              ║│                                            ║│                                                                                                                                                                                      ║│                                            ║│Interactive TUI                                                                                                                                                                       ║│                                            ║│                                                                                                                                                                                      ║│                                            ║│┌──────────────────────────┬───────────────────────────────────────────────────────────────────────────────────────┐                                                                  ║│                                            ║││ Feature                  │ Description                                                                           │                                                                  ║│                                            ║│├──────────────────────────┼───────────────────────────────────────────────────────────────────────────────────────┤                                                                  ║│                                            ║││ Dual-pane interface      │ Navigate the outline while viewing synchronized content                               │                                                                  ║│                                            ║││ Interactive mode         │ Navigate, edit, and interact with tables, checkboxes, links, and code blocks          │                                                                  ║│                                            ║││ Table editing            │ Navigate cells with vim keys (hjkl), edit in-place, copy cells/rows/tables            │                                                                  ║│                                            ║││ Checkbox toggling        │ Toggle task list items with instant file updates                                      │                                                                  ║│                                            ║││ Live editing             │ Open files in your editor with auto-reload (respects $VISUAL/$EDITOR)                 │                                                                  ║│                                            ║││ Link following           │ Follow markdown links via visual popup—supports anchors, files, wikilinks, and URLs   │                                                                  ║│                                            ║││ Navigation history       │ Go back/forward between files with full state preservation                            │                                                                  ║│                                            ║││ Syntax highlighting      │ 50+ languages via [syntect](https://crates.io/crates/syntect)                         │                                                                  ║│                                            ↓││ Vim-style navigation     │ j/k, g/G, d/u, p (parent)                                                             │                                                                  ↓└────────────────────────────────────────────┘└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ [Outline] 1/41 (2%) • Outline:20% • Theme:Tokyo Night                                                                                                                                                                                 j/k Navigate  Enter Select  / Search  i Interactive  f Links  ? Help                                                                                                                                                                 [?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l[?25l