Pymdown-extensions

Latest version: v10.8.1

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

Scan your dependencies

Page 3 of 17

10.1.0

10.0.1

- **FIX**: Regression related to snippets nested deeply under specified base path.

10.0

- **Break**: Snippets: snippets will restrict snippets to ensure they are under the `base_path` preventing snippets
relative to the `base_path` but not explicitly under it. `restrict_base_path` can be set to `False` for legacy
behavior.

9.11

Not secure
- **NEW**: Emoji: Update to new CDN and use Twemoji 14.1.2.
- **NEW**: Snippets: Ignore nested snippet section syntax when including a section.

9.10

Not secure
- **NEW**: Blocks: Add new experimental general purpose blocks that provide a framework for creating fenced block
containers for specialized parsing. A number of extensions utilizing general purpose blocks are included and are meant
to be an alternative to (and maybe one day replace): Admonitions, Details, Definition Lists, and Tabbed. Also adds a
new HTML plugin for quick wrapping of content with arbitrary HTML elements.
- **NEW**: Highlight: When enabling line spans and/or line anchors, if a code block has an ID associated with it, line
ids will be generated using that code ID instead of the code block count.
- **NEW**: Snippets: Expand section syntax to allow section names with `-` and `_`.
- **NEW**: Snippets: When `check_paths` is enabled, and a specified section is not found, raise an error.
- **NEW**: Snippets: Add new experimental feature `dedent_sections` that will de-indent (remove any common leading
whitespace from every line in text) from that block of text.
- **NEW**: MagicLink: Update GitLab links to match recent changes and to be more correct.
- **NEW**: MagicLink: Relax required hash length when performing link shortening.

9.10b5

Not secure
- **NEW**: Blocks: Add `type_multi` and `type_none` validators.
- **NEW**: Blocks: Rename on_parse to `on_validate` and pass in parent element as context for validation.
- **NEW**: Blocks: When a block uses `raw` mode, allow content to be indented to avoid conflicts with HTML parser. `raw`
blocks _should_ be indented and are now documented as such. The results will be dedented up to Python Markdown's tab
length, so intentional indentation is still possible. `raw` blocks with no indentation will still work, but may have
conflicts with other extensions.
- **FIX**: Blocks: Commenting out all YAML options will not cause a block to invalidate.

Page 3 of 17

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.