Year 2024 - How to display attached image to the page in MARKDOWN
Asked by Milan Panic:

How to reference attached image in the markdown?

This question is related to these 2 questions from the past - but answers do not seem to be working in 2024:

1. <https://community.atlassian.com/t5/Confluence-questions/How-to-display-attached-images-with-markdown/qaq-p/621010#U2681636>

2. <https://community.atlassian.com/t5/Confluence-questions/How-to-add-image-in-markdown/qaq-p/1394607>

Bit more details below:

```
External images should be avoided use the following format in markdown
BEST TO BE AVOIDED unless publicly available resources

Example:

![](https://i.ibb.co/ncPSnTF/sample-tech-specs-image.jpg)

For internal attachments - use following format
DOES NOT WORK UNFORTUNATELY:

![](/wiki/download/attachments/4238410304/sample_tech_specs_image.jpeg)
```

Would highly appreciate help in this matter.

Thanks in advance,

Milan


Answers:
author: Barbara Szczesniak
body: [@Milan Panic](/t5/user/viewprofilepage/user-id/4345965) Are you using the legacy editor or a third-party app for markdown? According to this page (<https://support.atlassian.com/confluence-cloud/docs/insert-confluence-wiki-markup/>), you can insert markdown in the legacy editor, but:
> As with wiki markup, Confluence Cloud will convert your markdown to the rich text editor format. You will not be able to edit your content using markdown.

comments: author: Milan Panic
body: Hi [@Barbara Szczesniak](/t5/user/viewprofilepage/user-id/5187859) , thanks for the reply.

We are using default editor provided by confluence and its feature insert markdown - I am providing attachments that provides details of the problem. Editing goes like this:

1. Insert markdown

2. Edit Markdown Macro pops up - we populate it with markdown text

3. Upon clicking save it returns to Confluence editor where you have ability to again go in editing

4. Publishing adapts markdown and confluence page to work together.

Problem is that markdown does not show local image attached to the document - and we need this in order to easily sync our code content without using markup language but markdown already avaialble...  

We could of course use markup but this is not what we want just because then we need to reformat entire markdown...


author: Milan Panic
body: ![Screenshot 2024-04-26 at 16.42.01.png](https://community.atlassian.com/t5/image/serverpage/image-id/320857i2C57F302824E3B6D/image-size/large?v=v2&px=999 "Screenshot 2024-04-26 at 16.42.01.png")![Screenshot 2024-04-26 at 16.41.12.png](https://community.atlassian.com/t5/image/serverpage/image-id/320859i558A0291568CE834/image-size/large?v=v2&px=999 "Screenshot 2024-04-26 at 16.41.12.png")![Screenshot 2024-04-26 at 16.41.32.png](https://community.atlassian.com/t5/image/serverpage/image-id/320858iB8BC7CA5B35DE388/image-size/large?v=v2&px=999 "Screenshot 2024-04-26 at 16.41.32.png")


author: Barbara Szczesniak
body: [@Milan Panic](/t5/user/viewprofilepage/user-id/4345965) It looks like you are using the Markdown for Confluence app ([https://marketplace.atlassian.com/apps/1211445/markdown-for-confluence?tab=overview\&hosting=cloud](https://marketplace.atlassian.com/apps/1211445/markdown-for-confluence?tab=overview&hosting=cloud)).

If you go to this page in the Atlassian Marketplace, you can access their documentation and support, where you might find an answer to your question.


Tags: cloud

confluence-cloud