Reputation: 4072
I'm having a pretty trivial yet frustrating issue with Bitbucket.
I'm using a shield from http://shields.io/
The code below is not my shield specifically, but is basically the same:
[](https://www.npmjs.com/ "npm")
The problem is that when I include this in the README.md of my Bitbucket repository, it appears with a narrow gray outline around the image:
I understand Atlassian has it's own subset of rules for Markdown, yet I cannot find any mention of handling image outlines in their documentation for using Markdown: https://bitbucket.org/tutorials/markdowndemo/overview#markdown-header-images.
I've tried adding a <style>
block with the following CSS code:
.markup img {
border: 0 !important;
outline: none !important;
}
to the Markdown, but it appears as though that block was ignored entirely.
How I can get rid of this outline?
Upvotes: 0
Views: 667
Reputation: 2113
I believe you're adding an empty link to the image, that's might be causing the issue. Try this:

Should do the job.
Hope to have helped!
UPDATE
Look, I tried to reproduce your error, but on a README.md file that I created for that, the image looks fine:
Upvotes: 2