GitHub gists for Confluence
After installing the GitHub gists for Confluence app, it will become available as a Confluence Macro. If you want to embed GitHub gists into a Confluence page, open https://gist.github.com and select the gist you want to embed.
Embed using the gist URL
GitHub gists for Confluence will automatically detect the gist URL. Once you have selected the gist in GitHub, copy the URL from the browser address bar and paste it directly into your Confluence page. The GitHub gists for Confluence macro will open automatically.
You can edit the macro to adjust the dimensions:
After selecting the macro, click on the Edit button to open the macro editor right side panel
Select the desired dimensions & click insert
Keep in mind that one of both dimensions (width & height) needs to be a css unit. Also note that height can only be an absolute unit (px, cm, etc) and not relative (%, em, etc)Publish your Confluence page & your GitHub gist will become visible!
Keep in mind that boards are read-only
Embed using the macro editor
When editing a page, click on the plus button at the top right of your screen and click on Other macro’s or View more
Search for GitHub gists for Confluence. Click on GitHub gists for Confluence
The macro editor right side panel will open, which will allow you to enter the URL of your GitHub gist
Select the desired dimensions & click insert
Keep in mind that one of both dimensions (width & height) needs to be a css unit. Also note that height can only be an absolute unit (px, cm, etc) and not relative (%, em, etc)Publish your Confluence page & your GitHub gist will become visible!
Keep in mind that scene’s are read-only