Skip to content

Releases: oprypin/markdown-callouts

v0.4.0

22 Jan 23:24
4ca849a
Compare
Choose a tag to compare

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

v0.3.0

18 Sep 20:48
cb4e7b8
Compare
Choose a tag to compare

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

v0.2.0

15 Nov 23:23
b113841
Compare
Choose a tag to compare

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