Pymdown-extensions

Latest version: v10.12

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

Scan your dependencies

Page 5 of 18

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.

9.10b4

Not secure
- **NEW**: Blocks: Add `on_inline_end` event.

9.10b3

Not secure
- **NEW**: Blocks: Ensure inline mode is handled properly.
- **NEW**: Blocks: When using raw mode, ensure HTML stashed content is extracted.
- **NEW**: HTML: The Blocks HTML extension should use `inline` specifier instead of `span`.

9.10b2

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.10b1

Not secure
- **NEW**: HTML General block now accepts Emmet style attribute: `/// html | div.classid[name=value]`.
- **NEW**: Block attribute specifier is renamed from `attributes` to `attrs`.
- **NEW**: Remove `colon_syntax` option and cement that we are using `///` format moving forward.
- **NEW**: Revise available validators for Block options. Remove unnecessary validators and replace some with new ones.
- **NEW**: Simplify argument API.
- **NEW**: Block extensions can now be registered directly as normal Python Markdown extensions.

Page 5 of 18

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.