Skip to content

Releases: matthewwithanm/python-markdownify

1.0.0

24 Feb 22:18
Compare
Choose a tag to compare

Breaking Changes

If you are using custom tag conversion functions (convert_*()), note that the function interface has changed. See #191 for details.

What's Changed

  • Do not construct Markdown links in code spans and code blocks by @chrispy-snps in #165
  • Insert a blank line between table caption, table content by @chrispy-snps in #167
  • Allow a wrap_width value of None for unlimited line lengths by @chrispy-snps in #169
  • Optimize empty-line handling for <li> and <blockquote> content by @chrispy-snps in #171
  • Support HTML definition lists (<dl>, <dt>, and <dd>) by @chrispy-snps in #173
  • Add a new table_infer_header configuration option to control table header row inference by @SomeBottle in #161
  • For convert_* functions, allow for tags with special characters in their name (like "subtag-name") by @Fess-AKA-DeadMonk in #136
  • Code simplification to remove the children_only parameter by @chrispy-snps in #174
  • Add blank line before ATX-style headings to avoid ambiguity by @chrispy-snps in #178
  • Add blank line before/after preformatted blocks by @chrispy-snps in #179
  • Remove superfluous leading/trailing whitespace by @chrispy-snps in #181
  • Simplify computation of convert_children_as_inline variable by @chrispy-snps in #182
  • When computing <ol>/<li> numbering, ignore non-<li> previous siblings by @chrispy-snps in #183
  • Make conversion non-destructive to soup; improve div/article/section handling by @chrispy-snps in #184
  • Propagate parent tag context downward to improve runtime by @chrispy-snps in #191
  • Avoid stripping nonbreaking spaces by @jsm28 in #188
  • Escape right square brackets by @jsm28 in #187
  • Rename regex pattern variables by @chrispy-snps in #195
  • Use a conversion function cache to improve runtime by @chrispy-snps in #196
  • Use compiled regex patterns for escaping to improve runtime by @chrispy-snps in #194

New Contributors

Full Changelog: 0.14.1...1.0.0

0.14.1

24 Nov 22:08
Compare
Choose a tag to compare

Fixes technical errors regarding the heading tag:

Full Changelog: 0.14.0...0.14.1

0.14.0

24 Nov 11:28
Compare
Choose a tag to compare

What's Changed

  • More carefully separate inline text from block content by @jsm28 in #120
  • More selective escaping of -#.) (alternative approach) by @jsm28 in #149
  • More thorough cleanup of input whitespace by @jsm28 in #151
  • Fix logic for indentation inside list items by @jsm28 in #152
  • Set escape_misc to False by default to improve backwards compatibility by @alfonsrv in #153
  • Fix whitespace issues around wrapping by @jsm28 in #150

New Contributors

Full Changelog: 0.13.1...0.14.0

0.13.1

14 Jul 20:41
Compare
Choose a tag to compare

What's Changed

  • Migrated the metadata into PEP 621-compliant pyproject.toml by @KOLANICH in #138

Full Changelog: 0.13.0...0.13.1

0.13.0

14 Jul 19:23
Compare
Choose a tag to compare

What's Changed

  • Avoid inline styles inside <code> / <pre> conversion by @jsm28 in #117
  • Escape all characters with Markdown significance by @jsm28 in #118
  • Update MANIFEST.in to exclude tests during packaging by @samypr100 in #125
  • Special-case use of HTML tags for converting <sub> / <sup> by @jsm28 in #119
  • handle ol start value is not number by @microdnd in #127

New Contributors

Full Changelog: 0.12.1...0.13.0

Fix wrong version

26 Mar 20:57
Compare
Choose a tag to compare
0.12.1

Merge branch 'develop'

A load of new features

26 Mar 20:54
Compare
Choose a tag to compare

Huge thanks to all the contributors!

What's Changed

New Contributors

Full Changelog: 0.11.6...0.12.0

Fixed CLI options, added nix shell file to repo

02 Sep 08:11
Compare
Choose a tag to compare
0.11.6

Merge branch 'develop'

Fixed cli options and lint/test order

31 Aug 19:47
Compare
Choose a tag to compare
0.11.5

Merge branch 'develop'

Fixed rst linting error, added linter to tox

28 Aug 20:04
Compare
Choose a tag to compare
0.11.4

Merge branch 'develop'