Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simpler badge version enhancement #93

Closed
ghost opened this issue Jun 8, 2017 · 5 comments
Closed

Simpler badge version enhancement #93

ghost opened this issue Jun 8, 2017 · 5 comments

Comments

@ghost
Copy link

ghost commented Jun 8, 2017

You have implemented an awesome badge in issue #25. Are you able to show it in a github readme file?
(When I look at your readme, sometimes it show and sometimes it does not.)

The problem I am struggling with is to get to show your awesome badge on github readme. See Readme. It just do not show. I have spend the whole day looking into svg to png converters, but none is able to render your badge. Can you implement a simpler version of the badge? This would help during the time needed for the technology to catch up.

Take a look at https://github.com/rebornix/DotBadge and https://gist.github.com/espadrine/8218740. These simple badge show perfectly on github.

@danielpalme
Copy link
Owner

danielpalme commented Jun 8, 2017

If you use this URL, you can embed the badge directly without creating a PNG:

![Result](https://rawgithub.com/perezLamed/LamedalCore/master/pics/badge.svg)

See this question on SO for further information:
https://stackoverflow.com/questions/13808020/include-an-svg-hosted-on-github-in-markdown

@ghost
Copy link
Author

ghost commented Jun 10, 2017

Thanks for the update. It works perfectly.

@ghost ghost closed this as completed Jun 10, 2017
@jmbeach
Copy link

jmbeach commented Aug 24, 2017

I would like exporting as png to be a feature so that you can use relative paths. I understand why you build the image as SVG, but maybe a library exists to convert it to png easily?

I am using the program inkscape to do this manually.

@danielpalme
Copy link
Owner

I will add a PNG output in the next release

@danielpalme
Copy link
Owner

Please have a look at the latest release:
https://www.nuget.org/packages/ReportGenerator/2.5.11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants