Quick Start
Install the binary, render a first diagram, and run the Markdown fence transformer.
Requirements§
You need Linux x86_64 for the prebuilt binary, or Rust 1.97.0 or newer to build from source. Ondine CLI has no Node.js, npm, or WebAssembly runtime dependency.
Install§
curl -fsSL https://raw.githubusercontent.com/gicrisf/ondine-cli/main/install.sh | bash
The installer places ondine in ~/.local/bin. See Installation for manual downloads and other installation options.
Render a diagram§
Write Mermaid source in flow.mmd:
flowchart LR
A[Input] --> B[SVG]
Render it beside the source file:
ondine flow.mmd
This writes flow.svg. To render standard input:
cat flow.mmd | ondine > flow.svg
To print the diagram as ASCII text instead:
ondine --ascii flow.mmdTransform Markdown fences§
Put a Mermaid fence in Markdown:
```mermaid
flowchart LR
A --> B
```
Transform the Markdown tree without modifying the source:
ondine markdown content --out-dir build/content
The output mirrors the input tree. Check that generated files are current:
ondine markdown content --out-dir build/content --check
See Markdown Fences for the full behavior.