Make pipe table cell aliased as inline #212
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
User description
I have following pipe table:
Inside tree-sitter-markdown I'm running
tree-sitter parse -x ~/tree.mdThe result is:
Look at the last cell.
String
valueis not captured by any node. If I remove dot after value, the result is ok.This PR changes the content of cell to be aliased as inline.
The result is tree with captured
valuestring:PR Type
Bug fix, Enhancement
Description
Alias pipe table cells as inline nodes for proper content parsing
Fixes issue where text before punctuation in cells was not captured
Updates grammar to wrap cell content in inline node structure
Adds wiki_link and tag support to inline markdown elements
Diagram Walkthrough
File Walkthrough
3 files
Wrap pipe_table_cell with inline aliasAdd tag and wiki_link node typesAdd tag pattern and wiki_link symbol2 files
Update grammar JSON with alias structureAdd inline children to pipe_table_cell2 files
Update pipe table test expectationsAdd regression test for issue #9992 files