Mkdocs-callouts

Latest version: v1.13.2

Safety actively analyzes 624472 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

1.13.2

This version treats codefences inside callouts as if they were part of the callout, instead of being ignored altogether (fixing what the latest hotfix forgot). 😅

As an added bonus this means the following will also be valid too:

Source
markdown
> [!INFO]
> markdown
> > [!NOTE]
> > Codefenced callout within a callout
>


Result
markdown
!!! info
markdown
> [!NOTE]
> Codefenced callout within a callout



**Full Changelog**: https://github.com/sondregronas/mkdocs-callouts/compare/v1.13.1...v1.13.2

1.13.1

Resolves 13

The following markdown would cause a syntax error (list out of range) due to the "callout" starting on a 2nd indent level.

markdown
> markdown
> > [!NOTE]
> > Example
>


This version ensures that a callout block _must_ start with a single indent (`>` symbol).

**Full Changelog**: https://github.com/sondregronas/mkdocs-callouts/compare/v1.13.0...v1.13.1

1.13.0

What's Changed
* Handle leading tabs & fix breakless_lists by sondregronas in https://github.com/sondregronas/mkdocs-callouts/pull/12


**Full Changelog**: https://github.com/sondregronas/mkdocs-callouts/compare/v1.12.0...v1.13.0

1.12.0

What's Changed
* Bugfix + don't convert callouts within codefences by sondregronas in https://github.com/sondregronas/mkdocs-callouts/pull/10

See PR for details.

1.11.1

Only applies to the new `breakless_lists` option (enabled by default). Forgot to add ordered lists to the regex.

What's Changed
* Add support for ordered lists in breakless lists by sondregronas in https://github.com/sondregronas/mkdocs-callouts/pull/9


**Full Changelog**: https://github.com/sondregronas/mkdocs-callouts/compare/v1.11.0...v1.11.1

1.11.0

Resolves 7

Supports whitespaces after leading `>` symbols.

md
> [!info]
> > [!info]
> > > Blockquote


is now possible, previous syntax:

md
> [!info]
>> [!info]
>> > Blockquote


Also added a new option (enabled by default) to handle breakless lists
This shouldn't interfere with the previous syntax

md
Before:
> [!info]
> Text here
>
> - list item
> - another list item

After:
> [!info]
> Text here
> - list item
> - another list item


Disable the new behavior
This behavior _shouldn't_ cause any issues, but can be disabled by setting `breakless_lists` to `false` in the `mkdocs.yml` configuration file

yaml
plugins:
- search
- callouts:
breakless_lists: false

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.