bitbucketmarkdown

Changing image size in README.Md file on Bitbucket


I have added an image in README.md file something like this

![Logo](./images/Logo-doc.png)

The image displayed on Bitbucket is too large and I want to be able to resize the image. Following is what I have tried which didn't work

![Logo](./images/Logo-doc.png){:width="320px"}
![Logo](./images/Logo-doc.png =320x)
![Logo](./images/Logo-doc.png){width=320}!
![Logo](./images/Logo-doc.png){width=320px}

Can someone please help me with a solution to resize the image in README.md file?


Solution

  • You can always use HTML in a MarkDown document. The equivalent code would be:

    <img src="./images/Objy-InfiniteGraph-doc.png" alt="InfiniteGraph Logo" width="320">