Embedding GitHub files in Confluence

Documentation goes stale the moment it is copied out of the repository. Embedding the file instead keeps one source of truth: the page shows whatever is on GitHub now, and nobody has to remember to paste the update.

Everything here uses one macro, Github file (Capable). Pick a guide for what you want on the page.


#Common tasks

You want to

Go to

Put any file from a repository on a page

Embed a GitHub file in Confluence

Show a README or other Markdown as formatted text

Show a GitHub README in Confluence

Draw a Mermaid, PlantUML or draw.io file

Show a diagram from GitHub in Confluence

Pin a file to a release tag or another branch

Show a GitHub file from a branch, tag or commit in Confluence

Know every setting the macro has

Github file

Know which pasted links turn into the macro

Auto-convert pasted GitHub links

Check file types and size limits

Limits


#Guides in this section



One source of truth, shown where people read.