skillfed

markdown-callouts

Markdown extension: a classier syntax for admonitions

markdown-callouts v0.4.0 126.1K downloads/30d#11,790 on PyPI45
Permissive license Active released

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-callouts

uv

uv add markdown-callouts

poetry

poetry add markdown-callouts

Installing 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

Development Status :: 4 - BetaEnvironment :: Web EnvironmentIntended Audience :: Information TechnologyLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: DocumentationTopic :: Software Development :: DocumentationTopic :: Text Processing :: Markup :: MarkdownTyping :: Typed

Tags

markdown admonition syntaxcallout blocks markdownmarkdown extension admonitionshighlighted note blocks markdowncollapsible admonition blocksmarkdown note syntax
markdown-extensiondocumentation

More Documentation packages

docutils

Docutils converts plaintext documentation in…

unclear · top 1,000 on PyPI

Sphinx

Sphinx generates professional documentation…

permissive · top 1,000 on PyPI

griffe

Griffe extracts the complete structure and…

permissive · top 1,000 on PyPI

sphinxcontrib-serializinghtml

A Sphinx extension that outputs documentation…

permissive · top 1,000 on PyPI

alabaster

Alabaster is a clean, responsive Sphinx theme…

permissive · top 1,000 on PyPI

sphinxcontrib-htmlhelp

A Sphinx extension that generates HTML help…

permissive · top 1,000 on PyPI

mkdocs-github-admonitions-plugin

A MkDocs plugin that converts GitHub-flavored…

permissive · top 15,000 on PyPI

mdformat-mkdocs

An mdformat plugin that formats Markdown for…

permissive · top 15,000 on PyPI

mdformat-gfm-alerts

A plugin for mdformat that formats GitHub…

permissive · top 15,000 on PyPI

markdown-exec

Executes code blocks embedded in Markdown files…

permissive · top 5,000 on PyPI

mkdocs-video

A MkDocs plugin that embeds videos in…

permissive · top 15,000 on PyPI

mkdocs-material

Material for MkDocs is a professional theme and…

permissive · top 5,000 on PyPI

pymdown-extensions

Pymdown Extensions provides a collection of…

permissive · top 1,000 on PyPI

mkdocs-click

Generates API documentation for Click…

permissive · top 5,000 on PyPI

sphinx-togglebutton

A Sphinx extension that adds collapsible toggle…

permissive · top 15,000 on PyPI

mdformat-black

A plugin for mdformat that automatically…

permissive · top 15,000 on PyPI