Arbitrary content for right side of markdown badge

25 Views Asked by At

So we've got an internal use-case where we want to create a markdown badge that serves an arbitrary string from a service here internally. Basically we want the left side of the badge to say version with the right side being the content that comes out of querying a service/link. The service internally is Artifactory and we just want to get the latest version of a given Artifact to serve on a project page.

I'm searching all around and trying different things but coming up empty handed. Anyone have any suggestions one way or another?

EDIT: I understand there is the "endpoint badge" but it expects content to be returned in json format. This endpoint quite literally return a version in string format (i.e. plain/text).

Thanks, Chris

0

There are 0 best solutions below