diff --git a/svg-maker/README.md b/svg-maker/README.md index 982502c..2923aee 100644 --- a/svg-maker/README.md +++ b/svg-maker/README.md @@ -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 `). +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: diff --git a/svg-maker/examples/gauge.svg b/svg-maker/examples/gauge.svg new file mode 100644 index 0000000..57b6b39 --- /dev/null +++ b/svg-maker/examples/gauge.svg @@ -0,0 +1,8 @@ + + + + + + backups + all green +