./textproc/py-mdit-py-plugins, Collection of plugins for markdown-it-py

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


Branch: CURRENT, Version: 0.4.2, Package name: py312-mdit-py-plugins-0.4.2, Maintainer: pkgsrc-users

Collection of core plugins for markdown-it-py.


Master sites:

Filesize: 42.521 KB

Version history: (Expand)


CVS history: (Expand)


   2024-09-13 21:12:20 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-mdit-py-plugins: updated to 0.4.2

0.4.2 - 2024-09-09

- Improve parsing of nested amsmath

  The previous logic was problematic for amsmath blocks nested in other blocs \ 
(such as blockquotes)

  The new parsing code now principally follows the logic in \ 
`markdown_it/rules_block/fence.py`
  except that:

  1. it allows for a closing tag on the same line as the opening tag, and
  2. it does not allow for an opening tag without closing tag (i.e. no auto-closing)

- Add `allowed` option for inline/block attributes

  The `allowed` option accepts a list of allowed attribute names.
  If not ``None``, any attributes not in this list will be removed
  and placed in the token's meta under the key `"insecure_attrs"`.
   2024-05-14 21:17:50 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-mdit-py-plugins: updated to 0.4.1

0.4.1 - 2024-05-12

* Add option for footnotes references to always be matched

Usually footnote references are only matched when a footnote definition of the \ 
same label has already been found. If `always_match_refs=True`, any `[^...]` \ 
syntax will be treated as a footnote.
   2024-01-22 17:20:18 by Adam Ciarcinski | Files touched by this commit (4)
Log message:
py-mdit-py-plugins: added version 0.4.0

Collection of core plugins for markdown-it-py.