-
-
Notifications
You must be signed in to change notification settings - Fork 227
Open
Description
See commonmark/commonmark-spec#57, especially @zdne's comment.
Instead of starting and ending line and column for each element, we need to associate each element with a possibly non-contiguous range of positions in the source.
This is because CommonMark inline elements can be broken by indicators of block structure:
> *emphasized
> text*
Here the second > should not be considered part of the emphasized text, even though it occurs after the start of the emphasized text and before the end.
88250 and viluon
Metadata
Metadata
Assignees
Labels
No labels