Markups

Latest version: v4.0.0

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

Scan your dependencies

Page 1 of 4

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.

3.0.0

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

Incompatible changes:

* The deprecated AbstractMarkup API has been removed.
* Python 3.2 is no longer supported.
* The output now uses HTML5 instead of HTML4.
* The custom markups are now registered with entry points.
* The ``get_custom_markups()`` method has been removed.
* New required dependency: python-markdown-math_.

Other changes:

* The upcoming Python-Markdown 3.x release is now supported.

.. _python-markdown-math: https://pypi.org/project/python-markdown-math/

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.