markdown-callouts

Markdown extension: a classier syntax for admonitions

MIT License

Downloads
36.2K
Stars
23
Committers
1

Bot releases are visible (Hide)

markdown-callouts - Latest Release

Published by oprypin 9 months ago

Support GitHub "alerts" style of admonitions

To enable, add to mkdocs.yml:

markdown_extensions:
  - github-callouts
  # - callouts

This can be used instead of, or in addition to, the other callouts extension shipped by this package.

The syntax is:

> [!NOTE]
> Lorem ipsum dolor sit amet.

This syntax is supported by GitHub and looks like this there:

[!NOTE]
Lorem ipsum dolor sit amet.

And on the rendered MkDocs site it looks like a typical "NOTE" admonition.

Only 5 exact types are supported, and no extensibility of the syntax, just like on GitHub itself.

More details

markdown-callouts -

Published by oprypin about 2 years ago

Support collapsible <details> blocks

https://oprypin.github.io/markdown-callouts/#collapsible-blocks

>? TIP: **Click me to read more.**
>
> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla et euismod nulla.
>
> Curabitur feugiat, tortor non consequat finibus, justo purus auctor massa, nec
> semper lorem quam in massa.

Screenshot_20220918_224723

markdown-callouts -

Published by oprypin almost 3 years ago

Support custom title text for callouts

https://oprypin.github.io/markdown-callouts/#custom-titles

NOTE: **This is used as the title.** Lorem ipsum dolor sit amet, consectetur
adipiscing elit. Nulla et euismod nulla. Curabitur feugiat, tortor non
consequat finibus, justo purus auctor massa, nec semper lorem quam in massa.

image