Embed .md file from Github in Confluence page?
Asked by Richard, Jr. Rabil:

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](/questions/160993/confluence-git-plugin.).) I'm assuming there's nothing like this out there, but I figured I would double check.


Answers:
author: Bob Swift (personal)
body: You can use [Markdown for Confluence](https://bobswift.atlassian.net/wiki/display/MARKDOWN)'s [Markdown-url macro](https://bobswift.atlassian.net/wiki/display/MARKDOWN/Markdown-url+macro) with url that points to the GIT raw file.

comments: author: Malcolm Cook
body: 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?


author: Mark Norman
body: Vote for this issue to add this feature to Confluence: <https://jira.atlassian.com/browse/CONFSERVER-54404>


author: Sam Clark
body: 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..

comments: author: Arun Kumar Paraman
body: Lol :)


author: Mohammed Davoodi
body: Hi Richard, our plugin [Markdown Render Macro for Confluence](https://marketplace.atlassian.com/plugins/mohamicorp-render-markdown/server/overview) supports this feature as well. Cheers!

comments: author: Sanjay Pant
body: Thanks.


author: Naomi Watnick
body: Hi [@Mohammed Davoodi](/t5/user/viewprofilepage/user-id/551349) - I'm trying to utilize your plugin, but am getting 404s when following the instructions. And then the documentation area supporting the Github markdown shows stuff for bitbucket. Can you please help?

Thanks!  
\~Naomi


author: Mohammed Davoodi
body: [@Naomi Watnick](/t5/user/viewprofilepage/user-id/2824743) would love too, could you please send me an email. You can find the email on the contact for the marketplace listing (I would post it here but I don't want to have bots start sending us emails).


author: Move Work Forward
body: [@Naomi Watnick](/t5/user/viewprofilepage/user-id/2824743)

Do you use Confluence Server or Cloud? If Cloud you can check out [Github links for Confluence](https://marketplace.atlassian.com/apps/1216106/github-links-for-confluence?hosting=cloud&tab=overview) App.


author: Richard, Jr. Rabil
body: Thanks, Bob. I installed the trial version, and it works! Very cool.


author: Dave Liao
body: For those searching for a solution in 2021, Atlas Authority's [Markdown Macro](https://marketplace.atlassian.com/apps/1211438/markdown-macro-for-confluence?hosting=datacenter&tab=overview) lets you embed markdown on a wiki page (via a URL or you can just input markdown manually).

Unlike the other solutions on this page, it's only available Server and Data Center as of right now.


author: Move Work Forward
body: Hi,

Our App allows you to embed md and other files from GitHub, additionally, display reach information about pull requests, issues and other entities - [GitHub links for Confluence](https://marketplace.atlassian.com/apps/1216106/github-links-for-confluence?hosting=cloud&tab=overview).

Cheers,

Leo


author: iPMz? Nliz
body: Thank


Tags: git

github