[PR #883] [MERGED] Add source position tracking for grid tables #1278

Open
opened 2026-01-29 14:52:29 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/xoofx/markdig/pull/883
Author: @messani
Created: 7/14/2025
Status: Merged
Merged: 8/28/2025
Merged by: @xoofx

Base: masterHead: master


📝 Commits (3)

  • 80c50e3 Attempt to fix tracking of tree node positions (line, column) inside GridTable
  • 2e1d741 Cleaned up code, added tests for source position
  • aab5543 Code cleanup

📊 Changes

3 files changed (+81 additions, -13 deletions)

View changed files

📝 src/Markdig.Tests/TestSourcePosition.cs (+23 -0)
📝 src/Markdig/Extensions/Tables/GridTableParser.cs (+28 -6)
📝 src/Markdig/Parsers/BlockProcessor.cs (+30 -7)

📄 Description

Fixes #881

Adds source position tracking for grid tables and corresponding tests.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/xoofx/markdig/pull/883 **Author:** [@messani](https://github.com/messani) **Created:** 7/14/2025 **Status:** ✅ Merged **Merged:** 8/28/2025 **Merged by:** [@xoofx](https://github.com/xoofx) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (3) - [`80c50e3`](https://github.com/xoofx/markdig/commit/80c50e31e25e92d2999e69f027f4b5080a8f7b75) Attempt to fix tracking of tree node positions (line, column) inside GridTable - [`2e1d741`](https://github.com/xoofx/markdig/commit/2e1d741aaf15ad1084334d397cc7abf63af323a4) Cleaned up code, added tests for source position - [`aab5543`](https://github.com/xoofx/markdig/commit/aab5543cb5b3bd78cf5222144e411f0f52672504) Code cleanup ### 📊 Changes **3 files changed** (+81 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `src/Markdig.Tests/TestSourcePosition.cs` (+23 -0) 📝 `src/Markdig/Extensions/Tables/GridTableParser.cs` (+28 -6) 📝 `src/Markdig/Parsers/BlockProcessor.cs` (+30 -7) </details> ### 📄 Description Fixes #881 Adds source position tracking for grid tables and corresponding tests. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 14:52:29 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#1278