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

Embed .md file from Github in Confluence page?

Hi everyone,

Do you know if there's a simple way to grab an .md file from a page in Github (i.e., a README file), and then embed it on a Confluence page? I am hoping for a plugin and a macro that would let me achieve this. (The closest thing I saw pertaining to a Git macro was described at https://answers.atlassian.com/questions/160993/confluence-git-plugin.) I'm assuming there's nothing like this out there, but I figured I would double check.

6 answers

1 accepted

You can use Markdown for Confluence's Markdown-url macro with url that points to the GIT raw file.

I tried embedding the git raw file ulr using an iframe inside an html macro but that shows as empty...  should I expect the Markdown-url macro so succeed in such cases?

Vote for this issue to add this feature to Confluence: https://jira.atlassian.com/browse/CONFSERVER-54404

Thanks, Bob. I installed the trial version, and it works! Very cool.

1 vote
Sam Clark I'm New Here Tuesday

First, I just want to say, I'm absolutely disgusted by the fact that I had to log in to get this answer, second, thank you for the information, but no thanks..

Hi Richard, our plugin Markdown Render Macro for Confluence supports this feature as well. Cheers!

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 (you can also ...

2,507 views 14 20
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you