Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Overview

svugy renders a diagram written in Markdown as an isometric SVG you can click into.

  • Input: a .md file with a nested list of components and a list of edges. Any Markdown preview shows it as an outline; it diffs like code.
  • Output: one .svg file with its CSS and JavaScript inside. Open it in a browser; nothing to install or serve.
  • Errors: svugy validate reports every problem in one run, with line and column; --format json for scripts and agents.
  • d2: svugy render also reads .d2 files, and svugy import converts them to Markdown.

The editor below runs svugy compiled to wasm.

Next: Quickstart