./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-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
   2023-02-17 17:46:43 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-markdown2: updated to 2.4.8

python-markdown2 2.4.8

* Fix images not being procesed correctly

python-markdown2 2.4.7

* Fix hashing nested HTML blocks
* Fix backslash being unable to escape raw HTML tags
* Add support for telegram spoiler in extras
* mermaid support
* Fix escaping ampersands in hrefs
* Fix indented codeblocks inside fences
* Remove code-color extra

python-markdown2 2.4.6

* Feature wavedrom support
* Fix mixing ordered and un-ordered lists combining into single list type

python-markdown2 2.4.5

* Add optional dependencies to setup.py

python-markdown2 2.4.4

* Fix TypeError if html-classes extra is None
* Remove Python2 support
* Replace <strike> with <s> in strike extra
* Fix link patterns extra applying within links
* create proper entry point
* Codespans inside link text issue344
* Underline and HTML comments
* Links with brackets
* Fix emacs local variable one-liners
* Example of the current mixed-paragraph mode behavior in lists
* Fix code block indentation in lists
* Fix filter bypass leading to XSS
* Fix html-classes extra not applying to code spans
* Fix pygments block matching
* Fix pyshell blocks in blockquotes
* Fix multilevel lists
* Remove _uniform_outdent_limit function
* Add support for ordered lists that don't start at 1.
* Fix AssertionError with lazy numbered lists
* Add <ul> and <ol> tags to html-classes extra
* XSS test and fix

python-markdown2 2.4.3

* Fix meta indentation
* Fix code surrounded by blank lines inside blockquote fenced code blocks
* Fix inline code pipe symbol within tables
* Fix code block parsing error
* Fix hr block created when not supposed to
* Fix backslashes removed by adjacent code blocks
* Fix md5-* in resulting HTML when several code blocks follow one by one
* Fix excessive <br> tags in lists using break-on-newline extra
* Standardize key and value definitions for metadata extra
* Fix fenced code blocks breaking lists
* Fix catastrophic backtracking (Regex DoS) in pyshell blocks.
* Fix incorrect indentation of fenced code blocks within lists
* RST admonitions
* Improve error message if link_patterns forgotten
* fix compatibility with pygments 2.12

python-markdown2 2.4.2

* Fix for fenced code blocks issue
* Be more strict on auto linking urls, RE DOS fix

python-markdown2 2.4.1

* Tables extra: allow whitespace at the end of the underline row
* Pyshell extra: enable syntax highlighting if fenced-code-blocks is loaded.
* Regex DOS bandaid fix

python-markdown2 2.4.0

* Fixed bug breaking strings elements in metadata lists
* When rendering fenced code blocks, also add the language-LANG class
* Regex DoS fixes
   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