markdown-callouts
Markdown extension: a classier syntax for admonitions
What it is and what it does
markdown-callouts is a Python-Markdown extension that provides a simpler, more readable syntax for creating admonition blocks (callouts) compared to the standard admonition extension. Instead of the verbose `!!!` syntax, it lets you write `NOTE:` or `>? NOTE:` at the start of a paragraph to create highlighted, set-apart blocks. The extension produces the same rendered output as the admonition extension but with syntax that reads more naturally and degrades gracefully in vanilla Markdown renderers like GitHub's—showing the text with a clear prefix rather than disappearing or rendering as raw markup.
It's designed for documentation sites using MkDocs and themes like mkdocs-material that support admonitions. The package supports collapsible blocks via the `>?` prefix syntax. With a single runtime dependency (markdown) and support for Python 3.8 through 3.12, it integrates straightforwardly into existing Markdown workflows.
Use it for:
- Add visually distinct NOTE, WARNING, or INFO blocks to MkDocs documentation without verbose syntax.
- Create collapsible admonition blocks in documentation that expand on user interaction.
- Write Markdown that reads naturally in both rendered HTML and raw text (GitHub preview).
- Migrate from admonition syntax to a more readable block syntax in existing Markdown projects.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Adds a cleaner block-level syntax to Markdown for creating highlighted admonition blocks (callouts) that degrade gracefully in vanilla renderers.
Yes. Low install friction, no security issues, actively maintained, and solves a real readability problem for Markdown documentation. Useful if you write docs in Markdown and want cleaner admonition syntax; skip it if you don't use admonitions or prefer the standard syntax.
Install
markdown-callouts on PyPI
pip
pip install markdown-calloutsuv
uv add markdown-calloutspoetry
poetry add markdown-calloutsInstalling markdown-callouts
Before you install
Low friction: pure Python wheel with a single dependency on markdown. Actively maintained with recent commits and no known vulnerabilities.
License in practice
MIT license (permissive): you can use, modify, and distribute this package freely with minimal restrictions.
Quickstart
pip install markdown-callouts
In mkdocs.yml:
markdown_extensions:
- callouts
Then in Markdown:
NOTE: Your highlighted text here.
Requires markdown package; intended for use with Markdown processors or static site generators like MkDocs.
Verify before relying
- Whether the package works with markdown versions older than the current release.
- Performance characteristics when processing large documents with many callouts.
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — markdown |
| Maintenance | actively maintained — 935 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 126,084/month — #11,790 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: markdown_callouts-0.4.0-py3-none-any.whl
Keywords: extensions, markdown
Tags
More Documentation packages
Docutils converts plaintext documentation in…
unclear · top 1,000 on PyPI
SphinxSphinx generates professional documentation…
permissive · top 1,000 on PyPI
griffeGriffe extracts the complete structure and…
permissive · top 1,000 on PyPI
sphinxcontrib-serializinghtmlA Sphinx extension that outputs documentation…
permissive · top 1,000 on PyPI
alabasterAlabaster is a clean, responsive Sphinx theme…
permissive · top 1,000 on PyPI
sphinxcontrib-htmlhelpA Sphinx extension that generates HTML help…
permissive · top 1,000 on PyPI
mkdocs-github-admonitions-pluginA MkDocs plugin that converts GitHub-flavored…
permissive · top 15,000 on PyPI
mdformat-mkdocsAn mdformat plugin that formats Markdown for…
permissive · top 15,000 on PyPI
mdformat-gfm-alertsA plugin for mdformat that formats GitHub…
permissive · top 15,000 on PyPI
markdown-execExecutes code blocks embedded in Markdown files…
permissive · top 5,000 on PyPI
mkdocs-videoA MkDocs plugin that embeds videos in…
permissive · top 15,000 on PyPI
mkdocs-materialMaterial for MkDocs is a professional theme and…
permissive · top 5,000 on PyPI
pymdown-extensionsPymdown Extensions provides a collection of…
permissive · top 1,000 on PyPI
mkdocs-clickGenerates API documentation for Click…
permissive · top 5,000 on PyPI
sphinx-togglebuttonA Sphinx extension that adds collapsible toggle…
permissive · top 15,000 on PyPI
mdformat-blackA plugin for mdformat that automatically…
permissive · top 15,000 on PyPI