./textproc/py-mistune, Sane Markdown parser with useful plugins and renderers

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.1.2, Package name: py312-mistune-3.1.2, Maintainer: pkgsrc-users

The fastest markdown parser in pure Python with renderer features, inspired by
marked.

Features:
* Pure Python. Tested in Python 2.6+, Python 3.3+ and PyPy.
* Very Fast. It is the fastest in all pure Python markdown parsers.
* More Features. Table, footnotes, autolink, fenced code etc.


Required to run:
[lang/python310]

Master sites:

Filesize: 92.396 KB

Version history: (Expand)


CVS history: (Expand)


   2025-02-26 10:40:25 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-mistune: updated to 3.1.2

Version 3.1.2

* Fix ``footnotes`` plugin for AST renderer
   2025-01-30 09:23:04 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-mistune: updated to 3.1.1

Version 3.1.1

* Fix ``render_toc_ul`` method for empty iterable
* Fix ruby plugin's regex pattern and HTML rendering
   2025-01-10 09:56:11 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-mistune: updated to 3.1.0

Version 3.1.0

* Fix only HTML-escape URLs when rendering to HTML
* Add block_quote prefix on empty lines too
   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | Package updated
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
   2023-10-02 11:12:05 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-mistune: updated to 3.0.2

Version 3.0.2
* Fix list parser to avoid RecursionError
   2023-08-28 11:20:22 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-mistune: updated to 3.0.1

Version 3.0.1
-------------
* Add ``py.typed`` for mypy
* Add ``tests``, ``docs`` for sdist
* Support ``renderer="ast"`` for rendering AST

Version 3.0.0
-------------
* Do not strip leading unicode spaces like emsp
* Ensure new line at end of the text

Version 3.0.0rc5
----------------
* Fix fenced directives
* Fix inline link parser
* Fix block math plugin for multiple lines
* Fix empty list item for markdown renderer

Version 3.0.0rc4
----------------
* Fix plugin footnotes when there is no newline at the end
* Move safe HTML entities to HTMLRenderer
* Redesign directives parsing
* Add Image and Figure directive

Version 3.0.0rc3
----------------
* Render inline math with ``\(`` and ``\)``
* Added ``RSTRenderer``, and ``MarkdownRenderer``
* Fix ``toc_hook`` method
* **Breaking change**, rename ``RstDirective`` to ``RSTDirective``

Version 3.0.0rc2
----------------
* Add **spoiler** plugin
* Add ``collapse`` option for ``TableOfContents`` directive
* **Breaking change** on directive design, added fenced directive

Version 3.0.0rc1
----------------
* Add **superscript** plugin

Version 3.0.0a3
---------------
* Fix ruby plugin
* Change toc parameter ``depth`` to ``level``

Version 3.0.0a2
---------------
* Escape block code in HTMLRenderer
* Fix parsing links

Version 3.0.0a1
---------------
This is the first release of v3. Features included:

* redesigned mistune
* plugins
* directives
   2023-05-05 11:02:15 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
py-mistune: no need for pytest