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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Adding markdown with external image and link

Hi team,

 

I was trying to add a CIrcleCI badge using their provided markdown:

[![CircleCI](https://circleci.com/gh/Curve-Tomorrow/retina-dr-api.svg?style=svg)](https://circleci.com/gh/Curve-Tomorrow/retina-dr-api)

which provides me with the badge, but clicking it only takes me to the image, not to the CircleCI project.

I've taken a look at the keyboard shortcuts and guides to insert images with links, but I've had no luck in formatting the MD correctly.

 

Any help/tips?

 

Cheers

1 answer

Hi @Cliffery ,

you'd need to format the link in a different way:

[! http://external/image.png!|http://external/link.html ]

 

Thanks @marc -Collabello--Phase Locked-

So I've tried using that format, but it doesn't display the badge icon, it just shows the text.

The right column is with the space after first bang, and before the closing ], the left is without the spaces. 

image.png

If I insert:


![CircleCI](https://circleci.com/gh/Curve-Tomorrow/retina-dr-api.svg?style=svg)

it shows the badge but with no link.

If i insert:


!(https://circleci.com/gh/Curve-Tomorrow/retina-dr-api.svg?style=svg)

 It just shows the link but no badge (Which is odd, I would assume the [CircleCI] is just the alt text right?)

 

I'm sure there's a simple answer to this, I've played around with [], spaces, but still haven't found the correct format yet.

Any other insights?

It seems confluence cloud does not support all markdown: https://jira.atlassian.com/browse/CONFCLOUD-68137

Ah! Yep, that would be it.
Thanks.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

402 views 23 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you