skills/cmux-markdown/references/commands.md
cmux markdown open <path>
cmux markdown <path> # shorthand (implicit "open")
| Flag | Description | Default |
|---|---|---|
--workspace <id|ref|index> | Target workspace | $CMUX_WORKSPACE_ID |
--surface <id|ref|index> | Source surface to split from | Focused surface |
--window <id|ref> | Target window | Current window |
OK surface=surface:8 pane=pane:3 path=/absolute/path/to/file.md
With --json:
{
"window_id": "...",
"workspace_id": "...",
"pane_id": "...",
"surface_id": "...",
"path": "/absolute/path/to/file.md"
}
~ is expanded to the home directory.# These are equivalent when run from /Users/me/project
cmux markdown open plan.md
cmux markdown open ./plan.md
cmux markdown open /Users/me/project/plan.md
plan.md).Markdown panels are saved and restored across sessions. On restore, the panel re-reads the file from disk. If the file no longer exists at restore time, the panel is not recreated.
cmux markdown --help
cmux markdown -h
See also: