Skip to content

rtsao/gh-label-svg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gh-label-svg

A microservice for SVG GitHub label images

Deploy to now

Why?

I wanted to embed GitHub labels into GitHub markdown previews, but arbitrary HTML/CSS isn't supported. This service renders equivalent labels via pure SVG, which can be embedded into GitHub-flavored markdown as images.

Examples

https://gh-label-svg.now.sh/label.svg?color=5E35B1&text=super%20cool

example label

https://gh-label-svg.now.sh/label.svg?color=1976D2&text=microservice

example label

https://gh-label-svg.now.sh/label.svg?color=E64A19&text=wow

example label