Created by: XiaoPengYouCode
Issue
The README badge section does not fully render on GitHub. The GitHub Stars and License: GPL-3.0 badges appear as raw Markdown/text links instead of badge images, while the earlier badges in the same section render correctly.
Root cause
The README header mixed Markdown badge syntax inside an HTML-centered block and placed an HTML comment in the middle of the badge group. GitHub Markdown converted the badges before the comment into images, but the badges after it were no longer parsed as Markdown image links and were emitted as plain linked text.
Fix
This changes the header badge group to use explicit HTML <a><img></a> badge links throughout, so GitHub does not need to parse Markdown image syntax inside the HTML block. It also keeps the heading and badge group centered and moves the Snap note outside the badge block.
Verification
- Rendered the updated README with GitHub Markdown raw API.
- Confirmed the
GitHub StarsandLicense: GPL-3.0entries are emitted as<img>elements with the expecteddata-canonical-srcvalues. - Ran
git diff --check.