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

Not able to render images within Markdown URL which links to github readme.md

alexander.bronola May 2, 2021

How do I show images within Confluence page rendered by within Markdown URL page?

In github I have readme.md that has something like this,
# Architecture
![tb-architecture-1.png](tb-architecture-1.png)

The png file is located also in the same repository so, it is rendered properly within github.

However when it is rendered in confluence, it rendered all the texts only but not the image as shown below.

  image_not_shown.PNG

By the way, here's the plugin control I'm using. I'm sure it linked properly because it display all the texts from the readme.in in github.

image_not_shown1.PNG

-------------------------- Update ------------------

I've figured it out after Inspecting the browser code.

So here's the steps.

1. Determine the github link of the image. In my case its like,

https://github.com/project-dir/raw/master/docs/architecture/myimage.png

2. Copy/Paste that into the google chrome browser URL input box on top.

3. Notice that google chrome successfully displays the image and changed the URL with token already like,

https://raw.githubusercontent.com/project-dir/master/docs/architecture/myimage.png?token=AQDWWDGX2JGDUYR2XRP2QQTAS73ME

4. Use that URL in readme.md like,

# Architecture
![tb-architecture-1.png](<https://raw.githubusercontent.com/project-dir/master/docs/architecture/myimage.png?token=AQDWWDGX2JGDUYR2XRP2QQTAS73ME>)

5. Save the readme.md

6. Refresh your confluence page and there you have the image shown in its glory :)

 

1 answer

0 votes
Craig Nodwell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 6, 2022

That's great that you found and published your own answer.
Thank you.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events