Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,384
Community Members
 
Community Events
176
Community Groups

What HTML does BitBucket support in their READMEs?

BitBucket's documentation says that they support a limited set of HTML tags for READMEs, but they never say what tags. I'm trying to embed an image using the <img> tag for control over image size, which Markdown doesn't support, but it shows up as the text for the HTML, ie. as <img src='mypicture.jpeg' width='100' height='100'> instead of the picture.

15 answers

1 accepted

0 votes
Answer accepted
Ana Retamal Atlassian Team May 22, 2017

Hi Paul! You can find more information about the HTML tags that can be used at http://spec.commonmark.org/0.21/#html-tag. Regarding images, you can jump directly to the section 6.6. 

Hope this helps :) 

Ana

Hi Ana,

 

Thank you for this information. It's unfortunate that BitBucket does not support <img> tags for sizing images. It's something I've grown accustomed to on GitHub and am dissapointed with the lack of formatting that BitBucket offers for documentation.

 

Paul

Like # people like this

It seems that Bitbucket Markdown does not support html-entities like &nbsp;, and literally displays it as &nbsp;, not as non-breaking space.

This is really awkward: I wrote a huge Readme.md with hundreds of &nbsp;s, and in IntelliJ IDEA preview all works as expected. But on Bitbucket the layout displays as totally broken :(

Is there a plan/issue to fix this?

Like # people like this

I have the same issue as Dmitry for html entities in the readme file

Like Erik Van Till likes this

Any Plans for this?

After importing a project from GitHub which has README documentation with loads of HTML in markdown, I can't view it properly here. It's a shame because I wanted to move out of GitHub. You should support html in markdown 👍

^bump.

I am considering moving my repo over to Github from having to deal with this issue. It is unfortunate that re-sizing an image in a repo is not supported by Bitbucket. IMO, resizing an image is an essential & basic feature to include in a repo readme. I will explore other options, but have already wasted 20 minutes scouring the web for something that should be a simple add on. 

No, Bitbucket Server displays an HTML hyperlink as code, even though the CommonMark spec says it is interpreted as HTML.

bitbucket is becoming more of an obsolete, outdated and dinasour of a system.. we're definitely moving .. something as stupid and simple as an image sizing takes ages to ship not to mention tons of other issues that take ages to solve. very frustrating

Created an awesome README in Github.  Bitbucket.....please consider support proper HTML in your READMEs.  

New question: Why doesn't bitbucket support html syntax in markdown snippets?

Markdown footnotes don't seem to work either in Atlassian's bitbucket ticketing system.

Any updates???

Not being able to size and/or float images is a PITA.

I'd really like to see this functionality added

I always struggle with how bitbucket interprets markdown as well. My main concern is there is no way to check what it will look like other than actually push the changes. Not even https://atlaskit.atlassian.com/examples/editor/editor-markdown-transformer/markdown-transformer consistent with how bitbucket displays markdown. Is there any other tool I can use?

The least bad solution I've settled on is a vscode extension hbrok.markdown-preview-bitbucket 

Note: now that there is an atlassian-maintained vscode integration: atlascode, maybe[?] something more official may be available one day. You could open an issue or make feature request i suppose

Simply infuriating...

Thank you for the links, will try it out. This should be fixed, it is always a guessing game with the bitbucket markdown.

 

Edit 1: The vscode plugin seems to show markdown correctly, unlike the bitbucket server once viewed online.

Yea this plugin is nice, but at the same time useless because bitbucket snippets do not follow this norm

Will this ever be fixed?

No delete answer?

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events