You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm writing a tool to parse markdown files and verify that links are valid. To be able to provide the most valuable, accurate feedback, I need to be able to display line numbers to the user, so that they know exactly where in a file the broken link is.
Right now this isn't possible, because line numbers aren't recorded on token objects.
Proposal
Store line numbers on tokens, and provide a convenient wrapper for accessing the line number of a node when using SyntaxTreeNode.
Tasks and updates
No response
The text was updated successfully, but these errors were encountered:
Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Context
I'm writing a tool to parse markdown files and verify that links are valid. To be able to provide the most valuable, accurate feedback, I need to be able to display line numbers to the user, so that they know exactly where in a file the broken link is.
Right now this isn't possible, because line numbers aren't recorded on token objects.
Proposal
Store line numbers on tokens, and provide a convenient wrapper for accessing the line number of a node when using
SyntaxTreeNode
.Tasks and updates
No response
The text was updated successfully, but these errors were encountered: