The padding in nested lists when using blank lines for spacing has always driven me crazy.
I understand that this is because the contents of the list item are simply wrapped in <p>
and that's why it has to look like this:
One
- Nest
Two
- Nester
Three
- Nestest
Even though the Markdown looks like:
1. One
1. Nest
2. Two
1. Nester
3. Three
1. Nestest
Tell me what you want, that does not look like what I had in mind. One can try "fixing" it by jamming a couple
in there, but I would much rather prefer something like this:
li > p + ol,
li > p + ul {
margin-bottom: 1em;
}
Which renders the above list like:
From what I can tell, this is something specific to nested lists, so I did not play with any other styles.
One
andNest
, unless the user adds it themselves. – Robert Harvey♦ Feb 26 at 16:11