Magically generate Markdown badges for your docs 🛡️ 🦡 🧙
src/core/badges.ts
module has a mix of Shields API logic, URL changes and appearance such as markdown formatting. These were split into separate modules.Also updated and added to tests and explained the markdown progression in docs/history.md doc.
Changes:
Remove the version that is not maintained and use a fork published on NPM.
Fix a syntax bug in rendering Catalogue badges without color.
A refactor made Catalogue easier to work with.
Plus tests added to ensure that any error is raised if Catalogue badges have bad fields.