Skip to main content
Skip table of contents

Supported GitHub link types

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

.../issues/{number}

State (Open/Closed), title, number, author, labels, assignees, comment count, latest comment preview

Issues list

.../issues

Paginated list; supports URL Parameter filters

Pull Request

.../pull/{number}

State (Open/Merged/Closed), title, number, author, labels, created date

Pull Requests list

.../pulls

Paginated list; supports URL Parameter filters

Repository

github.com/{owner}/{repo}

Description, language, star count, fork count

Branch

.../tree/{branch}

Branch name, author of latest commit

Source file

.../blob/{branch}/{path}

Filename, collapsible code preview

Source file - line range

.../blob/{branch}/{path}#L5-L12

Filename, line range label, scoped code preview

Account / Profile

github.com/{username}

Avatar, username

Release

.../releases/tag/{tag}

Name, tag, author, date, description, latest/draft/pre-release badge

Releases list

.../releases

Paginated list with name, tag, draft/pre-release state

Milestone

.../milestone/{number}

Title, state, percentage complete, open and closed issue counts

Tags list

.../tags

Paginated list with tag name and commit SHA

Commit

.../commit/{sha}

Short SHA, message, author, avatar, date, files changed and +/- stats

Commits list

.../commits/{branch}

Paginated list with SHA, message, author, date, line stats

Compare

.../compare/{base}...{head}

Base and head ref, ahead/behind count, total commits, files changed and +/- stats

Discussion

.../discussions/{number}

State (Open/Answered/Closed), title, number, category, author, labels, comment count

Discussions list

.../discussions

Paginated list; can be filtered by category

Gist

gist.github.com/{user}/{id}

Gist name, collapsible code preview; supports line ranges

Blame view

.../blame/{branch}/{path}

Filename, branch name, line range label

Project

.../projects/{number}

Project name, closed state

Wiki page

.../wiki/{page-name}

Page title

Dependabot alert

.../security/dependabot/{number}

Severity, summary, package name, state (Open / Fixed / Dismissed)

Code Scanning alert

.../security/code-scanning/{number}

Severity, rule description, tool name, state (Open / Fixed / Dismissed)

Security Advisory

.../security/advisories/{ghsa-id}

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.

image-20260613-024557.png
image-20260613-024519.png

Updated:

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.