Markups

Latest version: v4.1.0

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

Scan your dependencies

Page 1 of 4

4.1.0

=========================

* Incompatible change: Python 3.9 is no longer supported.
* Made the order of Markdown extensions deterministic
(fixes a problem with ``pymdownx.superfences``).
* Adopted ruff for code quality checks and auto-formatting.

4.0.0

=========================

Incompatible changes:

* Python versions older than 3.9 are no longer supported.
* Python-Markdown versions older than 3.0 are no longer supported.
* Setuptools 61.2 or higher is required to build the project.
* ``setup.py`` has been removed. Use ``pip``, ``build`` or other :PEP:`517`
compatible tool.

Other changes:

* Added AsciiDocMarkup (contributed by Dave Kuhlman in 17).
* Made the tests pass with Pygments ≥ 2.11.
* Made the tests pass when PyYAML is not installed (18).
* Reformatted code in accordance with :PEP:`8` standard.
* Fixed mypy errors and added a :PEP:`561` ``py.typed`` file.

3.1.3

=========================

* Fixed logic to load extensions file when PyYAML module is not available
(issue 16, thanks foxB612 for the bug report).
* Made the tests pass with docutils 0.18.

3.1.2

=========================

* Incompatible change: Python 3.6 is no longer supported.
* Fixed replacing Markdown extensions in document.
* Fixed crash when using TOC backrefs in reStructuredText (issue 14,
thanks Hrissimir for the patch).

3.1.1

=========================

* The reStructuredText markup now includes line numbers information in
``data-posmap`` attributes.
* The reStructuredText markup now uses only ``minimal.css`` stylesheet
(not ``plain.css`` anymore).
* Added support for the upcoming docutils 0.17 release to the tests.

3.1.0

=========================

Incompatible changes:

* Python versions older than 3.6 are no longer supported.

Other changes:

* Instead of ``pkg_resources``, ``importlib.metadata`` is now used.
* For Markdown markup, ``markdown-extensions.yaml`` files are now supported
in addition to ``markdown-extensions.txt`` files.
* Type annotations were added for public API.
* The reStructuredText markup no longer raises exceptions for invalid markup.
* MathJax v3 is now supported in addition to v2. Also, the Arch Linux mathjax
packages are now supported (issue 4).
* Added Pygments CSS support for the ``pymdownx.highlight`` Markdown extension.

Page 1 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.