svg-maker: rendered example in the README
All checks were successful
release-tools / build-release (push) Successful in 4m4s

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011KikHkfCiC3yELbsMN8fT9
This commit is contained in:
2026-08-07 08:54:40 +02:00
parent 4bae7bfb72
commit f4f0d86d1f
2 changed files with 13 additions and 0 deletions

View File

@@ -30,6 +30,11 @@ canvas** — so mistakes surface as text even without the preview.
Errors carry line numbers (`card.svgd: line 7: "four" is not a
number — rect needs: rect <x> <y> <w> <h>`).
The example above, rendered (this exact file is
[`examples/gauge.svgd`](examples/gauge.svgd) → [`examples/gauge.svg`](examples/gauge.svg)):
![gauge example](examples/gauge.svg)
## The .svgd format
One element per line, `#` comments, `key=value` attributes last: