htmlbitbucketreadme

A Specific Image in Our README Does Not Appear in BitBucket Why?


I have an Image hosted in our BitBucket repository and when I got to BitBucket to look at the code it does not render, though other images do. The README codeline that has the image is this:

<img align="right" width="60" height="60" src="images/terraform.png">

# tf-snowflake

Obviously, I have an image hosted in the repository that hosts the README.md and the image is a picture of the terraform logo. But essentially, that is the top 3 lines in the README.md, when I do this on GitHub it works, but it doesn't seem to work for BitBucket and it renders like this:

enter image description here

Why would it render like this, but on GitHub it would actually show the Image that is supposed to be aligned to the right-side of the README file?


Solution

  • Bitbucket's README standards don't support HTML tags. To read more about the allowed formatting, you can use their own example page https://bitbucket.org/tutorials/markdowndemo/src/master/

    For images it would be

    ![Alt text](http://www.addictedtoibiza.com/wp-content/uploads/2012/12/example.png)
    
    ![Alt text](http://www.addictedtoibiza.com/wp-content/uploads/2012/12/example.png "Optional title")