meta-openembedded/meta-python/recipes-devtools/python/python3-markdown_3.3.bb
Leon Anavi 78025edfb5 python3-markdown: Upgrade 3.2.2 -> 3.3
Upgrade to release 3.3:
- The prefix language- is now prepended to all language classes
  by default on code blocks.
- Attribute Lists are more strict.
- All Pygments' options are now available for syntax highlighting.
- Fenced Code Blocks now work with Attribute Lists when syntax
  highlighting is disabled. Any random HTML attribute can be
  defined and set on the <code> tag of fenced code blocks when the
  attr_list extension is enabled.
- The HTML parser has been completely replaced. The new HTML
  parser is built on Python's html.parser.HTMLParser, which
  alleviates various bugs and simplify maintenance of the code.
- The Markdown in HTML extension has been rebuilt on the new HTML
  Parser, which drastically simplifies it. Note that raw HTML
  elements with a markdown attribute defined are now converted to
  ElementTree Elements and are rendered by the serializer. Various
  bugs have been fixed.
- Link reference parsing, abbreviation reference parsing and
  footnote reference parsing has all been moved from preprocessors
  to blockprocessors, which allows them to be nested within other
  block level elements. Specifically, this change was necessary to
  maintain the current behavior in the rebuilt Markdown in HTML
  extension. A few random edge-case bugs (see the included tests)
  were resolved in the process.
- An alternate function markdown.extensions.headerid.slugify_unicode
  has been included with the Table of Contents extension which
  supports Unicode characters in table of contents slugs. The old
  markdown.extensions.headerid.slugify method which removes
  non-ASCII characters remains the default. Import and pass
  markdown.extensions.headerid.slugify_unicode to the slugify
  configuration option to use the new behavior.
- Support was added for Python 3.9 and dropped for Python 3.5.
- Document how to pass configuration options to Extra.
- Fix HR which follows strong em.
- Support short reference image links.
- Avoid a RecursionError from deeply nested blockquotes.
- Fix issues with complex emphasis.
- Fix unescaping of HTML characters <> in CodeHilite.
- Fix complex scenarios involving lists and admonitions.
- Fix complex scenarios with nested ordered and unordered lists in
  a definition list.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-13 22:28:31 -07:00

14 lines
450 B
BlitzBasic

SUMMARY = "A Python implementation of John Gruber's Markdown."
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=745aaad0c69c60039e638bff9ffc59ed"
inherit pypi setuptools3
PYPI_PACKAGE = "Markdown"
SRC_URI[md5sum] = "76eb34a058bb8b637ccadc4ce384bae4"
SRC_URI[sha256sum] = "4f4172a4e989b97f96860fa434b89895069c576e2b537c4b4eed265266a7affc"
BBCLASSEXTEND = "native"
RDEPENDS_${PN} += "${PYTHON_PN}-logging ${PYTHON_PN}-setuptools"