Obsidian Callout to GitHub Alert Converter
Paste Obsidian Markdown and get GitHub-ready alerts. Every callout type and alias is mapped to one of GitHub’s five alerts, titles are moved so GitHub still renders them, and folding is handled — without touching anything inside a code block.
Everything runs locally: what you paste never leaves your browser.
Convert Obsidian callouts to GitHub alerts
4 callouts converted: 1 TIP, 1 CAUTION, 1 NOTE, 1 plain quote.
Mapping: which alert each callout type becomes
What changes, and why
In the example, > [!tip] Pro tip becomes > [!TIP] followed by
a bold Pro tip line. That is not a style choice: GitHub only treats a
blockquote as an alert when its marker stands alone on the first line, so leaving the title
where Obsidian puts it would turn the alert back into a plain quote. The bug callout becomes
CAUTION, the folded FAQ becomes an open NOTE, and the quote becomes an ordinary blockquote
with its attribution in bold.
Obsidian callout syntax in GitHub Markdown
Obsidian callout syntax and GitHub’s alert syntax look almost identical, which is exactly why copying notes across goes wrong silently. As an Obsidian to GitHub Markdown converter, this handles the four differences that matter: the type list (13 plus aliases versus 5), custom titles, folding and nesting. Everything else in the document — headings, lists, links, code — is passed through untouched.
A GitHub alert admonition generator for existing notes
GitHub calls these alerts; many documentation tools call the same thing an admonition. If
you are looking for a GitHub alert admonition format for a README, the five
markers are [!NOTE], [!TIP], [!IMPORTANT],
[!WARNING] and [!CAUTION], each on its own line at the start of a
blockquote.
Where these rules come from
The callout types, aliases, folding syntax and nesting behaviour are from Obsidian’s callout documentation. The five alert types, the marker-alone rule and the no-nesting restriction are from GitHub’s documentation for writing on GitHub.