diagram language hint using special styling. Unicode box-drawing characters and arrows get syntax-colored differently from labels.12345```diagram ┌───────────────┐ ┌───────────────┐ │ Browser │────────► │ Server │ └───────────────┘ └───────────────┘ ```
|, -, +. They fill the entire terminal cell and render with no visual gaps.| ASCII | Unicode | Name |
| | │ | Vertical line |
-- | ── | Horizontal line |
+ | ┌┐└┘ | Corners |
+ | ├┤┬┴┼ | Junctions |
┌─┐│), heavy (┏━┓┃), double (╔═╗║), and rounded (╭─╮╰─╯).►, ◄, ▼, ▲, ▶, ◀) on all connections. Never use plain lines without arrowheads.1234567891011# Fix diagrams in a file (writes in-place) npx -y @holocron.so/cli diagrams fix docs/architecture.mdx # Preview changes without writing npx -y @holocron.so/cli diagrams fix docs/architecture.mdx --dry-run # Validate only (exits 1 if issues found) npx -y @holocron.so/cli diagrams fix docs/architecture.mdx --check # Custom max width (default: 94) npx -y @holocron.so/cli diagrams fix docs/architecture.mdx --max-width 120
│ is at the wrong column└─┘ that doesn't match the top ┌─┐├────┤ padded with ─ instead of spaces┼, ╬, ╋ preserved when rebuilding dividers