Putting slighlty misaligned blockquote in a list
Is the following a bug in commonmark.js? The behaviour seems to disobey rule 4 of List Items.
> Blockquote
> continued here.
1. > Blockquote
> continued here.
Rule 4 says: " If a sequence of lines Ls constitutes a list item according to rule #1, #2, or #3, then the result of indenting each line of Ls by 1-3 spaces (the same for each line) also constitutes a list item with the same contents and attributes." I don't see how this applies here. Your list item is not indented.
Sorry. Please close this. It was the result of a late night brain fail on my part.
As far as I can see, the current behavior respects all of the spec's list rules. However, it does violate an invariant I'd hoped to achieve, the Principle of Uniformity. So it might be worth thinking about how the spec might be adjusted to allow this case to have its more natural interpretation.
Here is another, similar violation of the principle of uniformity: http://spec.commonmark.org/dingus/?text=%20%20oo%0A--%0A%0A-%20%20%20oo%0A%20%20--%0A
Maybe also: http://spec.commonmark.org/dingus/?text=%20%20%23%20hi%0A%0Aok%0A%0A-%20%20%20%23%20hi%0A%0A%20%20ok%0A