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.

5 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?

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

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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

899 views 23 12
Join discussion

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