We need Github when added to a Confluence page to be embedded. When you clicking the Github icon in the article it opens in a new browser the expanded source file.
What do I need to have it embed in the article in Confluence?
Thanks
Community moderators have prevented the ability to post new answers.
Hi @Trena Norcia, good questions!
Did you try Aura Content Formatting Macros already? It has an embed Macro. You can find my article here.
Hello @Trena Norcia,
You may find Include GitHub for Confluence Cloud useful for your use case where you want to embed a GitHub source file into Confluence.
You can simply copy the URL of the GitHub file and paste it into the Confluence page.
In the following example we use this GitHub URL of a .js file:
Then paste the URL in the Confluence file as shown in the video and the macro will automatically be applied to embed the file.
Also, we have just launched Include GitHub for Confluence DC in the marketplace. It can be used to render public and private files from both GitHub Enterprise and GitHub.com.
I hope this is helpful.
Best regards,
Sue from Mibex Software
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
its not working. i tested it with private and with public repo. its not embedding the content. only Link
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Trena Norcia ,
Confluence Cloud's native smart link functionality might help out here. When you drop a link into the editor, you might notice it changes from a raw URL into a nicely formatted page title:
If you select this link in the editor, you can change its display style:
The "Display as card" option will expand out a bit and show some extra information. For pull requests, it will at least include the summary:
Some types of content such as gists will also have a "Display embed" option, which can give you the whole content right on the Confluence page:
And you'll also notice that the "Display embed" option gives you the resize handles, as well as lets you wrap text around the embed if you'd like to.
Cheers,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Daniel Eads What are the Confluence requirements to get the display options shown above? I am working out of a Confluence cloud instance and do not have that "Display" dropdown available. The link I'm trying to embed is to a source file with a line marker in GitHub.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Has anyone received a response here? We're also not getting this option.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I quess if repository is not public then there is no option to reveal data
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also would like to do this. I see everything except the embed option.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Trena, are you using any plugin already of plan to install one ? There are plenty of plugins available to achieve this. Refer this article.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.