tokmd-badge
Build compact SVG badges for tokmd metrics.
Problem
Use this crate when you need a deterministic badge renderer without pulling in the CLI or the rest of the formatting pipeline.
What it gives you
badge_svg(label, value) -> String- XML escaping for badge text
- compact two-segment SVG output sized from the label and value text
Quick use / integration notes
[]
= { = true }
Feed it a label and value, then embed the returned SVG in a README or docs page.
Go deeper
Tutorial: Root README How-to: Generated badges Reference: Source Explanation: Architecture