Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Python-Markdown/markdown
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3.10.3
Choose a base ref
...
head repository: Python-Markdown/markdown
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3.11.0
Choose a head ref
  • 16 commits
  • 109 files changed
  • 7 contributors

Commits on Aug 8, 2026

  1. Configuration menu
    Copy the full SHA
    7be0cff View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2026

  1. Fix quadratic rendering time for many inline links (#1621)

    Scanning from index 0 after every inline-pattern match rescanned the
    unprocessed text repeatedly, making conversion quadratic in the number
    of inline elements. Return the index just past the inserted placeholder
    so the next scan starts at the unprocessed tail.
    
    Fixes #1619.
    aryansk authored Aug 24, 2026
    Configuration menu
    Copy the full SHA
    152a16f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    136df23 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2026

  1. Walk backtick spans instead of matching them with a regex.

    Same behavior as the current finder, just a linear scan. Sketch is from
    Isaac in #1618.
    
    Fixes #1620.
    gyanu2507 authored Aug 30, 2026
    Configuration menu
    Copy the full SHA
    8a9ae23 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2026

  1. Switch docs to Zensical

    * Remove dependency on `mkdocs-gen-files`, which is not currently supported by Zensical. The Markdown files are no longer auto-generated on each build, but permanently in the docs source tree.
    * The `mkdocs.yml` config file and custom css has been altered to use and support Zensical's `modern` theme.
    * The Library Reference page has been rewritten as prose with more code examples (we have generated API docs, so the usage docs should not also be formatted as API docs). The file has also been renamed from `reference.md` to `library.md` to avoid conflicts with the API docs which are at `reference/`.
    * Various minor formatting edits and config tweaks have been made to the docs to better fit with the new theme.
    waylan authored Sep 4, 2026
    Configuration menu
    Copy the full SHA
    4c8a8d6 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2026

  1. Honor block-level tags registered after md_in_html loads.

    The extension copied Markdown.block_level_elements at init, so
    md.block_level_elements.append() after construction was ignored.
    Read the live list instead.
    
    Fixes #1246
    gyanu2507 authored and waylan committed Sep 6, 2026
    Configuration menu
    Copy the full SHA
    c74b8d8 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2026

  1. Ensure removing Abbreviations does not raise an error.

    In the documentation it is noted that an abbreviation defined in the global
    glossary can be removed for a specific document by assigning it to a blank
    value. However, if an abbreviation was not defined in a glossary, attempting
    to remove it would result in an error during rendering. The error is now avoided.
    waylan authored Sep 10, 2026
    Configuration menu
    Copy the full SHA
    175fb5a View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2026

  1. Add Markdown renderer as superfences formatter

    If a code block is demonstrating Markdown syntax, if can be assigned the md-render attribute, and both the Markdown source and HTML output will be rendered in a nested set of code blocks. 
    
    The Documentation Style Guide was updated for this and various other changes related to the switch to Zensical.
    waylan authored Sep 11, 2026
    Configuration menu
    Copy the full SHA
    0d6afd1 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2026

  1. Fix quadratic-time backtracking when a reference link has no URL

    A malformed reference definition line, one with a label but no URL
    (just trailing whitespace after the colon), makes ReferenceProcessor's
    regex backtrack badly. The pattern had two adjacent [ ]* groups around
    an optional newline, both matching the same run of spaces, so for a
    string of n spaces there were n+1 ways to split them before the engine
    gave up and tried the next split. That turns markdown.markdown('[id]:'
    + ' ' * 50000) into an eight second call instead of a near-instant one,
    and it gets worse fast as the input grows.
    
    Rewrote the pattern so the leading run of spaces is consumed greedily
    by a single group, with the optional newline plus more spaces folded
    into one non-ambiguous alternative after it. Verified this produces
    identical matches (and identical groups) as the old pattern on the
    handful of valid reference-link shapes the tests already cover, and
    added a dedicated regression test that fails on unmodified master and
    passes with the fix.
    
    Fixes #798.
    afonsojanu authored Sep 16, 2026
    Configuration menu
    Copy the full SHA
    5d1363c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8a96db5 View commit details
    Browse the repository at this point in the history
  3. Final cleanup for Zensical transition

    - Add redirects for moved/renamed sections
    - Implement and document manual result blocks
    - Various other minor tweaks.
    waylan committed Sep 16, 2026
    Configuration menu
    Copy the full SHA
    36cdbd3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    819fff9 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2026

  1. Configuration menu
    Copy the full SHA
    a5176b0 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2026

  1. Cleanup archived changelog

    waylan committed Sep 22, 2026
    Configuration menu
    Copy the full SHA
    571f050 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    547a934 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2026

  1. Bump version to 3.11.0

    waylan committed Sep 25, 2026
    Configuration menu
    Copy the full SHA
    0ffbf00 View commit details
    Browse the repository at this point in the history
Loading