Skip to content

(use case): Use shields.io syntax for card parameters #2327

Answered by rickstaa
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

@codehangen Thanks for your suggestion. I checked the shields.io syntax, and it looks like it also uses the regular query parameter syntax:

https://img.shields.io/static/v1?label=<LABEL>&message=<MESSAGE>&color=<COLOR>

The only different thing is the img prefix. Furthermore, to my knowledge, the syntax you suggest is not recommended for Vercel projects (see https://vercel.com/blog/vercel-node-helpers). I would therefore stay with the current syntax since it is more widely used.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant