Markdownify

Latest version: v1.1.0

Safety actively analyzes 715032 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 7

1.1.0

What's Changed
* Support `video` tag with `poster` attribute by itmammoth in https://github.com/matthewwithanm/python-markdownify/pull/189
* Add missing newlines for definition lists by chrispy-snps in https://github.com/matthewwithanm/python-markdownify/pull/200
* In inline contexts, resolve `<br/>` to a space instead of an empty string by chrispy-snps in https://github.com/matthewwithanm/python-markdownify/pull/202
* Generalize `colspan` handling to handle missing header rows by sbrown61 in https://github.com/matthewwithanm/python-markdownify/pull/203

New Contributors
* itmammoth made their first contribution in https://github.com/matthewwithanm/python-markdownify/pull/189
* sbrown61 made their first contribution in https://github.com/matthewwithanm/python-markdownify/pull/203

**Full Changelog**: https://github.com/matthewwithanm/python-markdownify/compare/1.0.0...1.1.0

1.0.0

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

New Contributors
* SomeBottle made their first contribution in https://github.com/matthewwithanm/python-markdownify/pull/161
* Fess-AKA-DeadMonk made their first contribution in https://github.com/matthewwithanm/python-markdownify/pull/136

**Full Changelog**: https://github.com/matthewwithanm/python-markdownify/compare/0.14.1...1.0.0

0.14.1

Fixes technical errors regarding the heading tag:

- https://github.com/matthewwithanm/python-markdownify/issues/142
- https://github.com/matthewwithanm/python-markdownify/issues/143

**Full Changelog**: https://github.com/matthewwithanm/python-markdownify/compare/0.14.0...0.14.1

0.14.0

What's Changed
* More carefully separate inline text from block content by jsm28 in https://github.com/matthewwithanm/python-markdownify/pull/120
* More selective escaping of `-.)` (alternative approach) by jsm28 in https://github.com/matthewwithanm/python-markdownify/pull/149
* More thorough cleanup of input whitespace by jsm28 in https://github.com/matthewwithanm/python-markdownify/pull/151
* Fix logic for indentation inside list items by jsm28 in https://github.com/matthewwithanm/python-markdownify/pull/152
* Set escape_misc to False by default to improve backwards compatibility by alfonsrv in https://github.com/matthewwithanm/python-markdownify/pull/153
* Fix whitespace issues around wrapping by jsm28 in https://github.com/matthewwithanm/python-markdownify/pull/150

New Contributors
* alfonsrv made their first contribution in https://github.com/matthewwithanm/python-markdownify/pull/153

**Full Changelog**: https://github.com/matthewwithanm/python-markdownify/compare/0.13.1...0.14.0

0.13.1

What's Changed
* Migrated the metadata into PEP 621-compliant pyproject.toml by KOLANICH in https://github.com/matthewwithanm/python-markdownify/pull/138


**Full Changelog**: https://github.com/matthewwithanm/python-markdownify/compare/0.13.0...0.13.1

0.13.0

What's Changed
* Avoid inline styles inside `<code>` / `<pre>` conversion by jsm28 in https://github.com/matthewwithanm/python-markdownify/pull/117
* Escape all characters with Markdown significance by jsm28 in https://github.com/matthewwithanm/python-markdownify/pull/118
* Update MANIFEST.in to exclude tests during packaging by samypr100 in https://github.com/matthewwithanm/python-markdownify/pull/125
* Special-case use of HTML tags for converting `<sub>` / `<sup>` by jsm28 in https://github.com/matthewwithanm/python-markdownify/pull/119
* handle ol start value is not number by microdnd in https://github.com/matthewwithanm/python-markdownify/pull/127

New Contributors
* jsm28 made their first contribution in https://github.com/matthewwithanm/python-markdownify/pull/117
* samypr100 made their first contribution in https://github.com/matthewwithanm/python-markdownify/pull/125
* microdnd made their first contribution in https://github.com/matthewwithanm/python-markdownify/pull/127

**Full Changelog**: https://github.com/matthewwithanm/python-markdownify/compare/0.12.1...0.13.0

Page 1 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.