./textproc/py-markdown2, Fast and complete Python implementation of Markdown

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


Branch: CURRENT, Version: 2.5.1, Package name: py312-markdown2-2.5.1, Maintainer: pkgsrc-users

Markdown is a text-to-HTML filter; it translates an easy-to-read /
easy-to-write structured text format into HTML. Markdown's text
format is most similar to that of plain text email, and supports
features such as headers, *emphasis*, code blocks, blockquotes, and
links. -- http://daringfireball.net/projects/markdown/

This is a fast and complete Python implementation of the Markdown
spec.


Required to run:
[lang/python310]

Master sites:

Filesize: 137.653 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
   2024-10-19 18:27:08 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-markdown2: updated to 2.5.1

python-markdown2 2.5.1

- Fix underscores within bold text getting emphasized
- Add Alerts extra
- Fix img alt text being processed as markdown
- Add `link-shortrefs` extra
- Use urandom for SECRET_SALT
- Fix XSS issue in safe mode
- Fix XSS injection in image URLs
   2024-07-20 14:28:48 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-markdown2: updated to 2.5.0

python-markdown2 2.5.0

- Add support for custom extras
- Drop Python 3.5 support
- Add `prepend` arg to toc extra
- Process HTML comments as markdown in 'escape' safe mode
- Fix syntax warnings in test suite
- Process inline tags as HTML blocks when they span multiple lines
- Add new LaTeX Extra
- Fix `html`, `head` and `body` tags being wrapped in `<p>` tags
- Graceful handling of broken lists when cuddled-lists extra is enabled
- Add type hints
- Drop Python 3.6 and 3.7 support
- Fix fenced code blocks breaking lists
- Fix 583 by tweaking incomplete tag regex
- Fix AssertionError on malformed HTML
   2024-02-26 11:11:19 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-markdown2: updated to 2.4.13

python-markdown2 2.4.13

- Allow cuddled tables
- Fix `markdown-in-html` not always splitting HTML tags into separate lines
- Fix incomplete comments in safe mode not being escaped
- Fix crash in `markdown-in-html` extra
   2023-12-18 06:40:16 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-markdown2: updated to 2.4.12

python-markdown2 2.4.12

- Update `markdown-in-html` extra to handle markdown on same line as HTML
- Fix tables with trailing whitespace not being recognized
- Fix multiple instances of strong emphasis (`**`) in one line
- Fix incorrect parsing of links after square brackets
   2023-12-08 12:40:17 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-markdown2: updated to 2.4.11

python-markdown2 2.4.11

- Fix angles being escaped in style blocks
- Fix base64 images being corrupted in safe mode
- Add `breaks` extra with ability to hard break on backslashes
- Fix 493 persisting when `code-friendly` extra enabled
- Update `_slugify` to use utf-8 encoding
- Maintain order of appearance in footnotes
- Include HTML headers in TOC
- Add mechanism to prevent header ID counter resetting
   2023-08-04 10:32:28 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-markdown2: updated to 2.4.10

python-markdown2 2.4.10

- Allow more relative links in safe mode
- Always restore hashed HTML blocks
- Add `middle-word-em` extra
   2023-07-19 13:03:22 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-markdown2: updated to 2.4.9

python-markdown2 2.4.9

- Add `<thead>` tag to html-classes extra
- Fix link patterns extra matching against internal hashes
- Replace deprecated `optparse` with `argparse`
- Fix `_uniform_outdent` failing with empty strings
- Fix HTML elements not unhashing correctly
- Remove deprecated `imp` module
- Allow link patterns to be passed via extras dict
- Fix relative links not working in safe mode