How to add image to readme file in Stash

I am using Stash (which has Git) for my project

I am trying to add some images to my Readme.md file as

  • git: How can I find out whether there is a pull request for a branch?
  • How can I connect to my own Git server in SourceTree?
  • How to implement Stash Pull request 'Merge' button
  • Scheduling a nightly build in Jenkins with multiple conditions
  • How to get git user name who did force push
  • Unstaged changes immediately after cloning in Eclipse
  • [picture](http://stash.xxxxxx.com/projects/zzzzz/img/abc.png)
    

    but its not working. when i view the readme, all i see is the plain text

    ![picture](http://stash.xxxxxx.com/projects/zzzzz/img/abc.png)
    

    please help

    EDIT:

    Note that stash might be rendering markdowns differently and thats why the conventional solutions to github markdowns might not be applicable. still if somebody know an alternate way of doing this, please let me know.

    EDIT2

    ok, so here is part of the problem

    i had the text for the image as part of the text in an ordered list. as you might know, the lists follow an indentation pattern. when i took the text for the image out of the indentation, and added ?raw at then end of the url, the image showed up. Follow up: can i use something similar to the html img tag in order to resize my image ? also is it necessary for me to de-indent the text for referencing the image ? i still can’t escape the quotes

    Final EDIT:

    found the solution for escaping special characters

    i had to replace the special characters with their corresponding entity number as per

    http://www.freeformatter.com/html-entities.html

  • git rebase develop branch
  • Git returning null on hudson
  • Why does git push fails with “Operation timed out”?
  • How to show 'git blame' in Visual Studio 2013?
  • How do I squash and edit the same commit?
  • How to view files in bare repositories?
  • 2 Solutions collect form web for “How to add image to readme file in Stash”

    You will need to add ?raw to the end of the URL to the image, so Stash will serve up the image, instead of showing you the file image history.

    The Stash/BitBucket documentation for images https://confluence.atlassian.com/bitbucketserver/markdown-syntax-guide-776639995.html#Markdownsyntaxguide-Images provides markdown syntax to just link images “first class”. Assuming my README.md is at the root of my project,

    ![Sequence Diagram](./doc/fields_seq_diagram.png)
    

    …works like a champ on a directory structure like

    tcc-rkuhar:shaggy robert.kuhar$ tree --charset=ascii
    .
    |-- README.md
    |-- doc
    |   |-- fields_seq_diagram.png
    |   `-- fields_seq_diagram.txt
    |-- project.clj
    
    Git Baby is a git and github fan, let's start git clone.