Local preview
Works with the CLI alone. No gander.md account.
The smallest thing the CLI does: turn a markdown file into HTML and open it. No account, no daemon, no network. Use this when you want to see GFM, tables, code, and Mermaid the way the hosted viewer will look, without sending anything to gander.md.
gander plan.md
What happens:
- The file is rendered to HTML (same pipeline as the hosted viewer).
- The page is written to a temp file in your OS temp directory.
- Your default browser opens a
file://URL. - The process exits. No port stays open.
That is a snapshot. If the agent keeps writing, you have to run the command again, or switch to a watch.
Write HTML instead of opening a browser
gander -outfile plan.html plan.md
Use this in scripts, or when you want a file you can attach somewhere else. Flags must come before the markdown path. Go's flag parser stops at the first positional argument, so this fails:
gander plan.md -outfile plan.html
-outfile cannot be combined with --watch. Pick one: a static file, or a live preview.
When to use something else
- The file is still changing, and you are the only viewer: local watch (
gander plan.md --watch). - Someone else needs a link: sign up and hosted watch (
gander watch plan.md). - You want the agent to offer this for you: skill.