Repository navigation
Comparing changes
Open a pull request
base repository: matthewwithanm/python-markdownify
base: 1.2.3
head repository: matthewwithanm/python-markdownify
compare: 1.2.4
- 15 commits
- 8 files changed
- 4 contributors
Commits on Aug 18, 2026
-
remove borken remnants of Python 2 compatibility
by using typing, which is a _good_ thing, this project cannot be Python2-compatible anymor $ grep Union -r markdownify/__init__.pyi:from typing import Callable, Union markdownify/__init__.pyi: code_language_callback: Union[Callable[[Incomplete], Union[str, None]], None] = ..., markdownify/__init__.pyi: convert: Union[list[str], None] = ..., markdownify/__init__.pyi: strip: Union[list[str], None] = ..., markdownify/__init__.pyi: strip_document: Union[str, None] = ..., markdownify/__init__.pyi: strip_pre: Union[str, None] = ..., markdownify/__init__.pyi: wrap_width: Union[int, None] = ..., markdownify/__init__.pyi: code_language_callback: Union[Callable[[Incomplete], Union[str, None]], None] = ..., markdownify/__init__.pyi: convert: Union[list[str], None] = ..., markdownify/__init__.pyi: strip: Union[list[str], None] = ..., markdownify/__init__.pyi: strip_document: Union[str, None] = ..., markdownify/__init__.pyi: strip_pre: Union[str, None] = ..., markdownify/__init__.pyi: wrap_width: Union[int, None] = ..., tests/types.py:from typing import Union tests/types.py:def callback(el: BeautifulSoup) -> Union[str, None]:
Configuration menu - View commit details
-
Copy full SHA for aaeed47 - Browse repository at this point
Copy the full SHA aaeed47View commit details
Commits on Oct 11, 2026
-
Avoid quadratic trailing whitespace scan in pre blocks
Signed-off-by: AC <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7533a31 - Browse repository at this point
Copy the full SHA 7533a31View commit details
Commits on Nov 7, 2026
-
fix: avoid quadratic re_newline_whitespace scan in process_text
On a run of spaces or tabs with no newline, re.sub retried the pattern at every position of the run and each attempt scanned to the end of it, so text conversion was quadratic in the run length (64 KiB of spaces took about 10 s). A match can only start at the beginning of a whitespace run, so anchor it there with a lookbehind: matches are unchanged and the scan is linear.
Configuration menu - View commit details
-
Copy full SHA for 3139871 - Browse repository at this point
Copy the full SHA 3139871View commit details
Commits on Nov 11, 2026
-
Merge pull request #272 from a-detiste/develop
remove broken remnants of Python 2 compatibility
Configuration menu - View commit details
-
Copy full SHA for 1bcbde7 - Browse repository at this point
Copy the full SHA 1bcbde7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ad0547 - Browse repository at this point
Copy the full SHA 5ad0547View commit details
Commits on Nov 15, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 0bac498 - Browse repository at this point
Copy the full SHA 0bac498View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd989ec - Browse repository at this point
Copy the full SHA dd989ecView commit details -
Merge pull request #300 from matthewwithanm/python-316
use python 3.15
Configuration menu - View commit details
-
Copy full SHA for 1971972 - Browse repository at this point
Copy the full SHA 1971972View commit details
Commits on Nov 18, 2026
-
Merge branch 'fix-pre-whitespace-performance' of https://github.com/a…
…c1982/python-markdownify into ac1982-fix-pre-whitespace-performance
Configuration menu - View commit details
-
Copy full SHA for d1b88aa - Browse repository at this point
Copy the full SHA d1b88aaView commit details -
Merge branch 'newline-whitespace-quadratic' of https://github.com/Cha…
…ndan3456/python-markdownify into Chandan3456-newline-whitespace-quadratic
Configuration menu - View commit details
-
Copy full SHA for f029a0a - Browse repository at this point
Copy the full SHA f029a0aView commit details -
Merge branch 'ac1982-fix-pre-whitespace-performance' into Chandan3456…
…-newline-whitespace-quadratic
Configuration menu - View commit details
-
Copy full SHA for e3a295a - Browse repository at this point
Copy the full SHA e3a295aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5db502c - Browse repository at this point
Copy the full SHA 5db502cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cb933f - Browse repository at this point
Copy the full SHA 0cb933fView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc6ad25 - Browse repository at this point
Copy the full SHA dc6ad25View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4fbc39 - Browse repository at this point
Copy the full SHA e4fbc39View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 1.2.3...1.2.4