Mkdocs-include-markdown-plugin

Latest version: v7.1.1

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

Scan your dependencies

Page 1 of 11

7.1.1

New features

- Add a new [`directives`](https://github.com/mondeja/mkdocs-include-markdown-plugin?tab=readme-ov-file#directives) global setting to customize directive names (241)

Enhancements

- Some performance optimizations (240)

7.0.1

Enhancements

- Performance optimization up to 25% faster.

7.0.0

Breaking changes

No longer installable on Python v3.8

Minimum Python version for installation is v3.9. Python v3.8 reached his end of life at 2024-10-07.

Comments are turned off by default

Before this release, the default value for `comments` argument of `include-markdown` directive was `true`. Now has been switched to `false`. This prevents some inconvenients, for example, trying to include one-line texts on table cells and list items.

If you want the previous behaviour, configure `comments` as `true` in the global configuration:

yaml
plugins:
- include-markdown:
comments: true


Indented code blocks must be surrounded by newlines

Now mkdocs-include-markdown-plugin will only detect indented code blocks if are surrounded by newlines, conforming to [CommonMark specification](https://spec.commonmark.org/0.28/#indented-code-blocks).

In the practice this means that you must surround indented code blocks with newlines or possible link targets URLs will be rewritten to work in relative files. For example, the next code is not treated as an indented code block any more and will break:

markdown
Foo
const auto lambda = []() { .... };

6.2.2

Enhancements

- Add official support for Python v3.13.
- Relax `wcmatch` dependency.

6.2.1

Bug fixes

- Improve performance of inclusion regex processing. Prevents to take a lot of time parsing long lines looking for inclusions.

6.2.0

New features

- Add [`recursive`](https://github.com/mondeja/mkdocs-include-markdown-plugin?tab=readme-ov-file#include-markdown_recursive) argument to `include-markdown` directive.

Enhancements

- Apply substitutions from all directives at once. Improves performance in all includes and prevents big performance degradations including large contents in the same files of other includes.
- Warn when passing invalid arguments to directives. It could catches bad syntax, like trying to turning off `comments` in `include` directives (`include` does not provides a `comments` argument).

Page 1 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.