Open lonnblad opened 5 years ago
found that indenting with two extra spaces gave what I expected
* Foo
> Bar
Foo:
- Bar
Glad to have the workaround, but to maximize the readability of the source Markdown (surely one of the major points of using Markdown in the first place!) it would be nice to have the GFM behavior of just having to match the indent of the list item, and not requiring extra newlines.
- in an unordered list
> indent the child item two spaces
1. in an ordered list
> indent the child item three spaces
indent the child item two spaces
- in an ordered list indent the child item three spaces
Doubly indented lists have a similar problem:
- level 1
- level 1
- level 2
- level 3
- level 3
- level 2
Should produce something like:
with the structure:
<ul>
<li>level 1</li>
<li>level 1
<ul>
<li>level 2
<ul>
<li>level 3</li>
<li>level 3</li>
</ul>
</li>
<li>level 2</li>
</ul>
</li>
</ul>
but instead produces:
with the structure:
<ul>
<li>level 1</li>
<li>level 1
<ul>
<li>level 2</li>
<li>level 3</li>
<li>level 3</li>
<li>level 2</li>
</ul>
</li>
</ul>
An indented Block Quote, a Paragraph and a List within a List Item are not parsed as children to that List Item.
markdown
expected node.Walk
actual node.Walk