GitHub Markdown Alerts as Confluence Panels

READMEs and docs on GitHub use alert blocks to call out notes and warnings. Pasted into Confluence they turn into plain quotes with a stray [!NOTE] on top.

The gap

GitHub renders a blockquote that starts with [!NOTE], [!TIP], [!IMPORTANT], [!WARNING] or [!CAUTION] as a coloured alert. The syntax is GitHub's own, so the Confluence editor and most Markdown converters treat it as an ordinary quote. Confluence has its own callouts, the info, tip, note and warning panels, but nothing maps one to the other.

How each alert maps

GitHub alertConfluence panel
[!NOTE]Info (blue)
[!TIP]Tip (green)
[!IMPORTANT]Note (yellow)
[!WARNING]Warning (red)
[!CAUTION]Warning (red)

Confluence has four panel types and GitHub has five alerts, so [!WARNING] and [!CAUTION] share the warning panel. The alert keyword is not case sensitive, and the text, lists, links and code inside the alert stay inside the panel.

Example

> [!WARNING]
> Back up the database before running the migration.

imports as a red warning panel containing the sentence, with no [!WARNING] marker left in the text. A blockquote without an alert keyword stays a normal quote.

Steps

  1. Paste the Markdown, or upload the .md file or a ZIP of your docs.
  2. Check the preview: each alert shows as the panel it will become.
  3. Import. The panels are native Confluence macros, so you can change the type or edit the text in the editor like any other panel.

Moving a whole GitHub wiki? See migrating a GitHub wiki to Confluence Cloud.

Do it in one step

AI Markdown Importer for Confluence imports a folder or ZIP of Markdown as a page tree, with images as attachments and front matter as page properties, and shows a preview before anything is written. Single files are free; folder and ZIP import is US$20/month for sites with up to 10 users after a 30-day free trial, billed by Atlassian.

See AI Markdown Importer for Confluence