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
Difference is certainly not nice. But in this case i can't say immediately, is this bug of markdown-it or of reference commonmark implementation (not sure what spec says).
If you have time, could you ask @jgm in commonmark tracker, how your last case is expected to work (according to spec)? Anyway, i think they can wish to add this case into spec. We test all spec samples and fix any deviations ASAP. Also we track pathological tests of commonmark.js.
In order to solve [the problem of] of unwanted lists in paragraphs with hard-wrapped numerals, we allow only lists starting with 1 to interrupt paragraphs.
This means that you can't have a sublist beginning with 2. unless you leave a blank line. (markdown-it is therefore not in compliance with this rule in the fourth case.)
The following Markdown:
Generates this in markdown-it, in commonmark-strict mode:
While commonmark.js generates this:
So there seems to be some slightly differences there.
The text was updated successfully, but these errors were encountered: