Hello im working on a parser for commonmark in kotlin and ran into something I don’t understand pertaining to lists
Example 272 and 274 are very similar in that they both deal with list items interrupting paragraphs.
One says new lists must start with 1) to interrupt a paragraph (274) and the other has the 3) interrupting the paragraph of the second list item to create a new list.
If i were to remove the right brace from the the 3) it would match as lazy continuation of the paragraph.
Is there any concise way of determining which of the two situations we are in at any given time?