Year 2024 - How to display attached image to the page in MARKDOWN

Milan Panic April 25, 2024

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

1 answer

0 votes
Barbara Szczesniak
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 26, 2024

@Milan Panic 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.

Milan Panic April 26, 2024

Hi @Barbara Szczesniak , 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...

Milan Panic April 26, 2024

Screenshot 2024-04-26 at 16.42.01.pngScreenshot 2024-04-26 at 16.41.12.pngScreenshot 2024-04-26 at 16.41.32.png

Barbara Szczesniak
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 26, 2024

@Milan Panic It looks like you are using the Markdown for Confluence app (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.

Like Milan Panic likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events