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: xoofx/markdig
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.1.1
Choose a base ref
...
head repository: xoofx/markdig
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.2.0
Choose a head ref
  • 5 commits
  • 16 files changed
  • 7 contributors

Commits on Mar 24, 2026

  1. Fix to calculate LinkReferenceDefinition span positions from StringLi…

    …neGroup.Lines (#931)
    
    * Fix to calculate LinkReferenceDefinition span positions from StringLineGroup.Lines
    
    * Add test case in TestMultilineInBlockquote
    
    * Potential fix for pull request finding
    
    Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
    
    * Change from startPosition + span.End - span.Start to GetAbsolutePosition(lines, span.End)
    
    * Move ConvertToAbsoluteSpan and GetAbsolutePosition to StringLineGroup
    
    * Remove '\r' check in Write(ReadOnlySpan<char>)
    
    ---------
    
    Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
    prozolic and Copilot authored Mar 24, 2026
    Configuration menu
    Copy the full SHA
    a9bd7c6 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2026

  1. Fix AbbreviationExtension corrupting emphasis/bold/italic resolution (#…

    …935) (#936)
    
    * test: add failing regression tests for issue #935 (abbreviation + emphasis)
    
    * fix: AbbreviationParser now substitutes post-inline-parse, fixes emphasis corruption (#935)
    
    The PostMatch hook approach (running mid-parse) produced a ContainerInline
    with IsClosed=false that disrupted FindLastContainer(), causing emphasis
    delimiters to be appended as children of the abbreviation container instead
    of as root siblings. It also had an off-by-one (i != 0 vs i != content.Start)
    that caused abbreviations to be missed when the literal started inside emphasis.
    
    Replace with a document.ProcessInlinesEnd handler that walks the fully resolved
    inline tree (after EmphasisInlineParser and LinkInlineParser have run), inserting
    AbbreviationInline/LiteralInline siblings directly into parent containers without
    any wrapper ContainerInline.
    
    Also update TestSourcePosition.TestAbbreviations to reflect the new tree shape
    (no container wrapper; empty leading literals at word boundaries are pruned).
    
    Fixes #935
    Kryptos-FR authored Apr 20, 2026
    Configuration menu
    Copy the full SHA
    5365879 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3d69933 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2026

  1. Add opt-in support for nested alert blocks (#938)

    Introduces AllowNestedAlerts on AlertExtension and AlertInlineParser
    (default: false) to allow alert blocks inside blockquotes or list items.
    
    The UseAlertBlocks() pipeline extension method exposes the new option
    via an allowNestedAlerts parameter.
    
    Resolves #853
    
    Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
    kapsiR and claude authored May 7, 2026
    Configuration menu
    Copy the full SHA
    7dceff2 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2026

  1. Remove old changelog.md

    xoofx committed May 12, 2026
    Configuration menu
    Copy the full SHA
    be4da8b View commit details
    Browse the repository at this point in the history
Loading