head 1.7; access; symbols pkgsrc-2026Q3:1.3.0.2 pkgsrc-2026Q3-base:1.3 pkgsrc-2026Q2:1.1.0.2 pkgsrc-2026Q2-base:1.1; locks; strict; comment @# @; 1.7 date 2026.11.15.22.26.08; author wiz; state Exp; branches; next 1.6; commitid Vi3C0xf63ug9LB3H; 1.6 date 2026.10.18.14.52.30; author wiz; state Exp; branches; next 1.5; commitid zj6tAdf4K4ks9YZG; 1.5 date 2026.10.12.13.55.52; author wiz; state Exp; branches; next 1.4; commitid VefRgqNiDouZ1cZG; 1.4 date 2026.09.26.10.31.57; author wiz; state Exp; branches; next 1.3; commitid P2WxoibpGpQKp7XG; 1.3 date 2026.08.23.08.14.57; author wiz; state Exp; branches; next 1.2; commitid 5iIgHCKssCPFKJSG; 1.2 date 2026.07.13.12.28.09; author wiz; state Exp; branches; next 1.1; commitid SmxD715CAogetuNG; 1.1 date 2026.06.11.13.14.04; author wiz; state Exp; branches; next ; commitid IMnlG255NZoMKnJG; desc @@ 1.7 log @py-pymdown-extensions: update to 13.1. 13.1 NEW: Snippets: Respect the Retry-After header when a URL responds with a 429. The server's requested delay is used instead of our backoff, and the snippet fails right away if it is longer than the longest we would wait ourselves (backoff_factor times max_retries). NEW: Snippets: Split snippet processing into steps that an extension can override (parse_snippet_target, select_snippet_lines, and process_snippet_lines) to add notation or change included content, and add get_syntax_mask to find which lines are snippet notation so they can be left alone. (#3040) FIX: Fix an issue where only our test environment required Python Markdown 3.10.3. Installs must require this. FIX: Snippets: Fix quadratic time complexity when parsing very long runs of ; or - in content, and very long snippet paths with line ranges. FIX: Quotes, Details (legacy), Tabbed (legacy), FancyLists, Blocks, and Snippets: Gracefully stop short of the recursion limit when content is nested too deeply, instead of raising a RecursionError. This includes content nested inside of a document structure that is already deep, such as a quote or tab inside of many nested lists. Content past the limit is no longer specially processed (Snippets skips includes past the limit, as it does for cyclic includes). 13.0 BREAK: Arithmatex: Generic mode is now the default mode as the old MathJax script approach has not been supported in MathJax for a long time now. We still provide script approach and have updated configuration to get it properly working in recent MathJax versions. BREAK: Arithmatex: Non-generic mode now escapes content in script to prevent closing from causing unintended behavior. Guidance on configuration for non-generic mode has been updated in the documentation. NEW: Require at least Python Markdown 3.10.3 for performance improvements. NEW: Drop Python 3.10 and require Python >= 3.11.5 as possessive quantifiers are broken on lower versions. NEW: MagicLink: Bare http://, https://, and www. links now follow GFM's extended autolink rules for what is considered the end of a link (trailing punctuation, entities, unbalanced ) and ]) and what a link can follow. Links no longer start after arbitrary punctuation (quotes are still allowed), and http://host style links with a short host are allowed. FIX: Critic: Fix quadratic (and cubic for substitutions) time complexity when parsing a large number of unclosed CriticMarkup openers by replacing the regular expression with a linear time scanner. FIX: PathConverter, B64: Handle elements with unquoted attributes. FIX: Arithmatex: Fix generic mode output when tex_inline_wrap or tex_block_wrap contain braces. FIX: InlineHilite: Fix regression related to unmatched opening and closing. FIX: FancyLists: Keep i and I in alphabetical lists after a blank line. FIX: BracketSpan: Fix unwanted colon attributes with {: ...} syntax. FIX: Snippets: Fix escaped section markers starting or ending a section before its start. FIX: StripHTML: Fix crash when strip_comments is disabled. FIX: Quotes: Fix callouts in indented blockquotes. FIX: Details, Admonitions, SaneHeaders: Improve performance of header patterns. FIX: Blocks.HTML: Improve performance of HTML patterns. FIX: MagicLink: Fix URLs with balanced parentheses or brackets losing their closing character. FIX: MagicLink: Improve performance of link and email patterns by removing excessive backtracking. FIX: ProgressBar: Fix crash on malformed 100 percent values like [=100,0%]. FIX: BracketSpan: Fix text being dropped or misplaced when an unpaired [ precedes a span that is returned from the cache, e.g. [[]{#a}[b[]{#c}. FIX: BetterEm, Tilde, Caret, Mark: Apply the CommonMark "rule of 3" so an ambiguous closing delimiter can skip an incompatible opener and pair with an earlier one, e.g. __[A](u){target="_blank"}__: x. FIX: BetterEm, Tilde, Caret, Mark: Better handling of Python Markdown placeholders when when evaluating CommonMark punctuation rules. FIX: Blocks.Caption: Fix crash when a numbered caption is nested inside a figure not created by the caption block. FIX: BetterEm, Tilde, Caret, Mark: Fix text being dropped when a stray delimiter that cannot open or close appears between delimiter pairs parsed together, e.g. ***l* * **e**. FIX: BetterEm, Tilde, Caret, Mark: Fix text being dropped or misplaced when unused delimiters inside a parsed span were reprocessed against delimiter pairs found later in the same text. FIX: Tilde, Caret: Fix a crash when a subscript or superscript with no space allowed starts inside emphasis, e.g. *a ~b~* with delete disabled. FIX: BetterEm, Tilde, Caret, Mark: Unusable delimiters dropped by another delimiter's region no longer leave stale space tracking that can reject valid pairs later. FIX: Blocks.Caption: Fix crash when a numbered caption is nested inside a figure not created by the caption block. @ text @$NetBSD: distinfo,v 1.6 2026/10/18 14:52:30 wiz Exp $ BLAKE2s (pymdown_extensions-13.1.tar.gz) = a35e1b9eb56869b6a1b1ba04655bcb43d9103c2a9847c24c19a69f3cf4abc9e9 SHA512 (pymdown_extensions-13.1.tar.gz) = ff462575f45e573db5c668777681edf3f846da72f4b866e0c627442055f48d934bf75d6999cd5a5c18e54a5723e7757d4778c1361c96de24241b3fdb0701d993 Size (pymdown_extensions-13.1.tar.gz) = 897600 bytes @ 1.6 log @py-pymdown-extensions: update to 12.3. NEW: BetterEm: Expose a way to disable CommonMark punctuation rules in BetterEm if desired via a new punctuation option. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.5 2026/10/12 13:55:52 wiz Exp $ d3 3 a5 3 BLAKE2s (pymdown_extensions-12.3.tar.gz) = f6618a279f71656e92bed29189e6e832e2ea9a215c5b8c7d731d304303e797bb SHA512 (pymdown_extensions-12.3.tar.gz) = ce7e6354e0da496e7fedc900dae61b148dccb3d72fafefac56242dda912650de7d18e2fa06b52d483b6e1f80358bc5d16926677e7c7e35698fcfcaab1a47254e Size (pymdown_extensions-12.3.tar.gz) = 870532 bytes @ 1.5 log @py-pymdown-extensions: update to 12.2. NEW: Add official support for Python 3.15. NEW: Tilde, Caret: For backwards compatibility, disable CommonMark punctuation rules by default. If subscript or superscript is disabled in the respective extension, CommonMark rules will be honored again. A new punctuation rule has been added to force CommonMark rules. When done, people will need to be aware of punctuation when subscript or superscript is enabled and escape any that violates CommonMark rules. NEW: Highlight: Highlight now allows in the auto_title_map specifying the title as a simple string or a dictionary containing the title and the title mode: either text or html, with text being the default. This allows a title to be specified and treated as HTML when the mode is html. NEW: SuperFences: Add new title_mode option for Pygments fenced blocks that allows a user to specify a title to be treated as HTML via title_mode="html". @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.4 2026/09/26 10:31:57 wiz Exp $ d3 3 a5 3 BLAKE2s (pymdown_extensions-12.2.tar.gz) = 79e0c4259eb2de0335ecae8a45fe57a044aecac486d00d3f870c0b0e84db27d7 SHA512 (pymdown_extensions-12.2.tar.gz) = 3313070cb2333ad79a1e8473d42b58c916e038550513a3fef3b757e0233b4ca49b736343a12e71caab49f17b0431ebf7c4bcd427c85bc12853993590abdcbb58 Size (pymdown_extensions-12.2.tar.gz) = 870226 bytes @ 1.4 log @py-pymdown-extensions: update to 12.1. 12.1 NEW: SuperFences: Add optional reset function that can be specified for custom fences. FIX: Tilde, Caret: Fix performance for long invalid delimiters. 12.0.1 FIX: BetterEm: fix a case with new logic. 12.0 BREAK: BetterEm: Complete rewrite. There may be some subtle differences between legacy behavior and new CommonMark behavior. * and _ emphasis are handled at the same time to provide more natural nesting. More performant. CommonMark compliant. BREAK: Tilde, Caret, Mark: Rewritten and now built upon the latest BetterEm logic. When used with BetterEm, Tilde, Caret, and Mark will be added to the same delimiter processor under the hood and will be parsed at the same time as emphasis, allowing for better nesting logic. More performant. Performance issues reported by (@@lexdotdev). Tilde, Caret, Mark: Allow deletion, insertions, and marking mid-word by default. Set smart_delete, smart_insert, or smart_mark, respectively, to enable previous behavior, which prevented mid-word deletion. Tilde, Caret: Add new option no_space to control whether the Pandoc style requirement of "no unescaped spaces" is enabled for subscript and superscript, respectively. no_space is enabled by default. NEW: Details, Blocks.Details, Blocks.Admonitions: Allow and handle headers specially in titles. NEW: Quotes: Allow and handle headers specially in callout titles. NEW: BracketSpan: New extension that allows for the creation of spans using a Pandoc style bracket notation. NEW: Arithmatex: Remove deprecated inline_mathjax_preview_format, inline_mathjax_format, and inline_generic_format. Use arithmatex_inline_format instead. NEW: Arithmatex: Remove deprecated fence_mathjax_preview_format, fence_mathjax_format, and fence_generic_format. Use arithmatex_fenced_format instead. NEW: Emoji: Remove undocumented and deprecated "old style" custom emoji index logic. NEW: Slugs: Remove deprecated uslugify, uslugify_encoded, uslugify_cased, uslugify_cased_encoded, gfm, and gfm_encoded. Use the documented slugify method with appropriate arguments instead. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.3 2026/08/23 08:14:57 wiz Exp $ d3 3 a5 3 BLAKE2s (pymdown_extensions-12.1.tar.gz) = e8124faf7956f214b91fe8f9ff5fae455d9109b955394b733147ccf1c40b7989 SHA512 (pymdown_extensions-12.1.tar.gz) = eff6bb92df1e87cd68007a6543f075a6b8276c8718c25ab95dec1e948995ee60ed80cb9067f9fef8819710fb5306b8b94ca44d4640c8777de6b765d0c06a1743 Size (pymdown_extensions-12.1.tar.gz) = 868245 bytes @ 1.3 log @py-pymdown-extensions: update to 11.0.2. 11.0.2 FIX: InlineHilite: Improve performance of inline code matching. FIX: Keys: Fix regex pattern inefficiencies. FIX: Blocks.HTML: Fix backtracking in HTML extension. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.2 2026/07/13 12:28:09 wiz Exp $ d3 3 a5 3 BLAKE2s (pymdown_extensions-11.0.2.tar.gz) = b39a47a9363446cf67edfce63e7b6cc0f2e0039d3983efc5483e42c1468eb632 SHA512 (pymdown_extensions-11.0.2.tar.gz) = cd84ba04447bee2f2953453f1045e79c8495b5db0442227a8cc0ef348a9bb64e99e4ac0232032574967683e88b0db21b7eabeb8aa4e6edafde843e07438c5b5a Size (pymdown_extensions-11.0.2.tar.gz) = 855419 bytes @ 1.2 log @py-pymdown-extensions: update to 11.0.1. 11.0.1 FIX: BetterEm: Fix regex pattern inefficiencies. FIX: Tilde: Fix regex pattern inefficiencies. FIX: Caret: Fix regex pattern inefficiencies. FIX: MagicLink: Fix regex pattern inefficiencies. 11.0 BREAK: B64: Restricts relative links to base_path by default. Can be disabled by setting new restrict_path option to False. The new root_path can be specified if paths are desired to be restricted to a different location separate base_path which is also used as a relative base for image paths. NEW: Drop Python 3.9 support. FIX: Tabbed: Fix issue where an empty title would cause an exception. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.1 2026/06/11 13:14:04 wiz Exp $ d3 3 a5 3 BLAKE2s (pymdown_extensions-11.0.1.tar.gz) = c1926c1413455d43dc65d15a7baabd30e136afd533157d6cd645b1809c11865e SHA512 (pymdown_extensions-11.0.1.tar.gz) = c95ef9cdb073b1a11f0a78ca82c49e0b0a9c57a301e599bce29a99995ce5a8415530979271ca76b1b0bf7ab3d7f348b9ef0ba7b36c1e19e6121da379c6163484 Size (pymdown_extensions-11.0.1.tar.gz) = 857113 bytes @ 1.1 log @textproc/py-pymdown-extensions: import py-pymdown-extensions-10.21.3 Packaged for wip by K.I.A.Derouiche. Extension pack for Python Markdown @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 BLAKE2s (pymdown_extensions-10.21.3.tar.gz) = b8e155f2933fca93ae6b6828f15b92672ca54bd299f621944eff0ff163490def SHA512 (pymdown_extensions-10.21.3.tar.gz) = a7f480509eb4d589b17364b70eddc2aed506bc7507577e4738b6099cf4384177a21364f4b9c11e871d2d4d99e2227f461801f92388874a10aac3adbc76b513b3 Size (pymdown_extensions-10.21.3.tar.gz) = 854140 bytes @