Mkdocs-include-markdown-plugin

Latest version: v6.0.5

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

Scan your dependencies

Page 1 of 9

6.0.5

Bug fixes

- Fixed default setting `heading_offset` not being applied.

6.0.4

Bug fixes

- Fixed logging variables not included formatting messages (regression from [v6.0.2](https://github.com/mondeja/mkdocs-include-markdown-plugin/releases/tag/v6.0.2)).

6.0.3

Enhancements

- Add `mkdocs>=1.4` as dependency.

6.0.2

Enhancements

- Dropped Python upper version requirement bound.

6.0.1

Bug fixes

- Fixed some warnings not shown when missing `start` and `end` delimiters in some contexts (regression from [v6.0.0](https://github.com/mondeja/mkdocs-include-markdown-plugin/releases/tag/v6.0.0)).

6.0.0

:warning: Breaking changes

- Inclusion and exclusion relative paths and globs must start with `./` or `../`. Non-explicit relative paths (like `foo/bar.md`) will be treated as relative to `docs_dir` (typically the *docs/* directory). To migrate just prepend `./` in all your implicit relative paths and globs.
diff
- {% include-markdown "foo/bar.md" %}
+ {% include-markdown "./foo/bar.md" %}

- {% include-markdown "foo/*.md" %}
+ {% include-markdown "./foo/*.md" %}

- [`exclude`](https://github.com/mondeja/mkdocs-include-markdown-plugin/tree/v6.0.0#config_exclude) configuration setting added in [v5.1.0](https://github.com/mondeja/mkdocs-include-markdown-plugin/releases/tag/v5.1.0) is not treated more as a default value for the `exclude` argument. Now accepts an array that defines multiple global exclusion patterns that will extend the `exclude` argument pattern matches. Relative paths used by the `exclude` global setting will be treated as relatives to `docs_dir`.

New features

- Includer and excluder globs now accept [Bash-style wildcard patterns](https://facelessuser.github.io/wcmatch/glob/#syntax), allowing more flexible inclusions and exclusions, for example:
jinja
{% include-markdown "**" exclude="./{index,LICENSE}.md" %}

- Allow to define paths and globs relative to *docs/* directory for inclusions and exclusions with implicit relative paths like `foo/bar.md` or `index.md`.

Enhancements

- Raise `PluginError`s instead of `BuildError`s as recommended by Mkdocs.

Page 1 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.