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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,458,389
Community Members
 
Community Events
176
Community Groups

How do I get Github to embed in a Confluence page

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?

 

github embedded.JPG

Thanks

2 answers

0 votes
Daniel Eads Atlassian Team Aug 06, 2021

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:

image.png

If you select this link in the editor, you can change its display style:

image.png

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:

image.png

 

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:

image.png

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

@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.

 

image.png

0 votes
Kishan Sharma Community Leader Aug 05, 2021

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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events