Markdown Callout Generator

GitHub, GitLab and Obsidian callouts — pick a type, copy the syntax

Platform
Type

GitHub has five fixed alert types. GitLab supports the same five plus custom titles. Obsidian adds its own type names, custom titles and collapsible callouts.

Markdown output
> [!NOTE]
> Use callouts to make key information impossible to miss.
> They work in READMEs, issues, docs, and notes.
Preview

NOTE

Use callouts to make key information impossible to miss.
They work in READMEs, issues, docs, and notes.

How Markdown callouts work

A callout is a blockquote whose first line carries a [!TYPE] marker. GitHub and GitLab render five shared types — NOTE, TIP, IMPORTANT, WARNING and CAUTION — each with its own colour and icon. GitLab also accepts a custom title on the marker line. Obsidian accepts lowercase types, adds thirteen built-ins, and supports custom titles plus -/+ markers that make the callout collapsible.

FeatureGitHubGitLabObsidian
Types5 fixed, uppercaseSame 5, case-insensitive13 built-in, lowercase (with aliases)
Custom titleNoYes — text after the markerYes — text after the marker
CollapsibleNoNoYes — - or + after the marker
Where it rendersREADMEs, issues, PRs, discussionsMarkdown text boxes and filesNotes in your vault

Writing notes rather than READMEs? Every built-in Obsidian type is documented on the Obsidian callouts guide, and the GitHub cheat sheet covers alerts alongside the rest of GFM.