unstale

pypi / markdownify

markdownify

What changed in markdownify 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.

5 breaking1 new APIs and options6 behavior and defaults7 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.8 on npm

markdownify 119 changes

Breaking changes 5

  • The children_only parameter was removed.

    1.0.0release notes

  • Custom tag conversion functions have a changed interface; update functions that use convert_*().

    1.0.0release notes

  • Markdown links are no longer constructed inside code spans and code blocks.

    1.0.0release notes

  • Nonbreaking spaces are no longer stripped.

    1.0.0release notes

  • Right square brackets are escaped.

    1.0.0release notes

New APIs and options 1

  • A new configuration option controls table header row inference.

    1.0.0release notes

Behavior and default changes 6

  • Conversion functions now allow tags with special characters in their names, such as "subtag-name".

    1.0.0release notes

  • Empty-line handling changes for <li> and <blockquote> content.

    1.0.0release notes

  • Supports converting HTML definition lists, including <dl>, <dt>, and <dd>.

    1.0.0release notes

  • Blank lines are added before and after preformatted blocks.

    1.0.0release notes

  • A blank line is inserted between a table caption and table content.

    1.0.0release notes

  • Accepts None for unlimited line lengths.

    1.0.0release notes

Fixes and other changes 7

  • The types now allow None for strip_pre and warp_width parameters.

    1.2.3release notes

  • html.parser now preserves text nested inside <br>.

    1.2.3release notes

  • The distribution now includes the py.typed marker file.

    1.2.2release notes

  • A blank line is added before ATX-style headings to avoid ambiguity.

    1.0.0release notes

  • When computing <ol>/<li> numbering, non-<li> previous siblings are ignored.

    1.0.0release notes

  • Conversion no longer mutates the soup and improves div, article, and section handling.

    1.0.0release notes

  • Superfluous leading and trailing whitespace is removed.

    1.0.0release notes