BSD Ports

textproc/py-mistune 3.3.4 NetBSD

Sane Markdown parser with useful plugins and renderers

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
a083d4f09a
License
modified-bsd
Categories
textproc, python
Package size
142.4 KiB, 808.6 KiB installed

Description

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.

In the other systems

SystemPortVersion
NetBSDtextproc/py-mistune3.3.4
FreeBSDtextproc/py-mistune3.3.4
OpenBSDtextproc/py-mistune3.3.4p0
DragonFlytextproc/py-mistune3.1.2
MidnightBSDtextproc/py-mistune3.2.0_1
HardenedBSDtextproc/py-mistune3.3.4
GhostBSDtextproc/py-mistune3.3.4

Install

Binary package:

pkgin install py311-mistune

From pkgsrc:

cd /usr/pkgsrc/textproc/py-mistune && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_643.3.4
NetBSD 10.1 aarch643.2.1
SmartOS / illumos x86_643.3.4
macOS 15 arm643.3.4

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-mistune-3.3.4, py313-mistune-3.3.4, py314-mistune-3.3.4

Commit history 3

DateCommitCreditsLog message
a083d4f09a adam py-mistune: forget Python 3.10
7040601d37 adam py-mistune: updated to 3.3.4
3.3.4 * Harden inline parsing against deeply nested and adversarial link, image, emphasis, formatting, math, and reference inputs. * Improve performance for repeated link suffixes, dense emphasis, unclosed formatting markers, inline spoilers, and adjacent ruby tokens. * Refactor the inline parser into dedicated emphasis and link modules. * Escape literal ``*``/``_`` emphasis markers in the Markdown renderer so round-tripping escaped text does not re-introduce emphasis.
cd23f5e7e0 wiz py-mistune: update to 3.3.3.
🐞 Bug Fixes Set prev token in render_list_item and add block_text to ignore_blocks - by @gaoflow in #456 (0799e) Improve nested bracket link input - by @lepture (fe02f) Escape literal emphasis markers in MarkdownRenderer - by @Sanjays2402 (b0429) Use SAFE_PROTOCOLS instead of HARMFUL_PROTOCOLS - by @lepture (4009f) Add max_emphasis_depth - by @lepture (0938f) Add image max depth - by @lepture (cca5e) inline: Use original run length in emphasis multiple-of-3 rule - by @greymoth-jp and Claude Opus 4.8 (1M context) (2d26b) 🏎 Performance Improve link label parsing performance - by @lepture (e001d) Improve performance for math and formatting plugins - by @lepture (c2228) …