Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@SamWilsn
Copy link
Contributor

This pull request adds support for comrak's source position information, available in versions >= 0.18. There seem to be some bugs in that library, so this is a draft until that's fixed.

}

if data.sourcepos.end.line == 0 {
data.sourcepos.end.line = data.sourcepos.start.line;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note to self: if end.column is non-zero and less than start.column, this line causes problems (and I've seen it happen.)

@SamWilsn SamWilsn marked this pull request as ready for review April 2, 2025 19:52
@SamWilsn SamWilsn merged commit e83e9bd into master Apr 2, 2025
5 checks passed
@SamWilsn SamWilsn deleted the comrak-sourcepos branch April 2, 2025 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant