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

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


Branch: CURRENT, Version: 3.0.2nb1, Package name: py312-mistune-3.0.2nb1, 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: 88.711 KB

Version history: (Expand)


CVS history: (Expand)


   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
   2023-05-05 10:48:35 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-mistune: update to 2.0.5.

pkgsrc note: the CVE listed below was only for 2.x, so pkgsrc is
not affected.

2.0.5

Improve on parsing list. Make it possible to customize list regex. ref #331

2.0.4

Fix url plugin in <a> tag
Fix * formatting

2.0.3

Fix table plugin
Security fix for CVE-2022-34749

2.0.2

cape_url via #295

2.0.1

Fix XSS for image link syntax.

2.0.0

First release of Mistune v2.

2.0.0rc1

In this release, we have a Security Fix for harmful links.

2.0.0alpha1

This is the first release of v2. An alpha version for users to have a preview of \ 
the new mistune.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 13:23:42 by Nia Alarie | Files touched by this commit (1161)
Log message:
textproc: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Unfetchable distfiles (fetched conditionally?):
./textproc/convertlit/distinfo clit18src.zip