The GitHub Links macro recognises URLs from github.com, gist.github.com, and GitHub Enterprise Cloud (*.ghe.com) and renders a live, styled card for each. Paste any supported URL and it auto-converts, or add it via the macro editor.
Supported entity types
|
Entity |
Example URL pattern |
What is displayed |
|---|---|---|
|
Issue |
|
State (Open/Closed), title, number, author, labels, assignees, comment count, latest comment preview |
|
Issues list |
|
Paginated list; supports URL Parameter filters |
|
Pull Request |
|
State (Open/Merged/Closed), title, number, author, labels, created date |
|
Pull Requests list |
|
Paginated list; supports URL Parameter filters |
|
Repository |
|
Description, language, star count, fork count |
|
Branch |
|
Branch name, author of latest commit |
|
Source file |
|
Filename, collapsible code preview |
|
Source file - line range |
|
Filename, line range label, scoped code preview |
|
Account / Profile |
|
Avatar, username |
|
Release |
|
Name, tag, author, date, description, latest/draft/pre-release badge |
|
Releases list |
|
Paginated list with name, tag, draft/pre-release state |
|
Milestone |
|
Title, state, percentage complete, open and closed issue counts |
|
Tags list |
|
Paginated list with tag name and commit SHA |
|
Commit |
|
Short SHA, message, author, avatar, date, files changed and +/- stats |
|
Commits list |
|
Paginated list with SHA, message, author, date, line stats |
|
Compare |
|
Base and head ref, ahead/behind count, total commits, files changed and +/- stats |
|
Discussion |
|
State (Open/Answered/Closed), title, number, category, author, labels, comment count |
|
Discussions list |
|
Paginated list; can be filtered by category |
|
Gist |
|
Gist name, collapsible code preview; supports line ranges |
|
Blame view |
|
Filename, branch name, line range label |
|
Project |
|
Project name, closed state |
|
Wiki page |
|
Page title |
|
Dependabot alert |
|
Severity, summary, package name, state (Open / Fixed / Dismissed) |
|
Code Scanning alert |
|
Severity, rule description, tool name, state (Open / Fixed / Dismissed) |
|
Security Advisory |
|
Severity, summary, GHSA identifier, state (Published / Closed / Draft) |
Discussions, Code Scanning alerts, and Security Advisories require additional GitHub App permissions. See Working with Discussions and Working with Security alerts for setup.
Supported hosts
-
GitHub.com -
https://github.com/... -
GitHub Enterprise Cloud -
https://{your-org}.ghe.com/...
Note: Self-hosted GitHub Enterprise Server (GHES) is not supported.
Auto-conversion
Paste any supported GitHub URL onto a Confluence page in edit mode and it converts automatically. To keep the plain URL, press Ctrl+Z (Windows) or Cmd+Z(Mac) immediately after pasting.
Updated: