Skip to content

First-party source

Desktop command contract: Obsidian CLI, retrieved 2026-08-29 EDT. See the dated source ledger.

Outline

Fresh

Print the headings outline for a file as a tree, markdown list, or JSON.

Commands for Outline.

outline

Show headings for the current file.

bash
file=<name>        # file name
path=<path>        # file path
format=tree|md|json  # output format (default: tree)

total              # return heading count

See also

Unofficial SOP mirror. Built for terminal-driven and agentic Obsidian workflows.