Closed samgiz closed 1 year ago
After further investigation the newline between the items in the second list are important:
---
title: title
---
## preface
list 1
* this one uses list color
list 2
* So does this
* And this.
Adding the <p>
tag only when there's a newline between list items seems to be the expected behaviour. I still think that the two lists in my original post should be coloured the same way.
Thanks for reporting this -- I agree with you. I wasn't aware that markdown added a <p>
tag between list items... strange. Standby for a fix.
With the following post:
I get the following result:
Looking at the produced source code we can see that the multiline list elements get wrapped in a
<p>
tag, but not the singleton list element:I'm not sure what's the expected behaviour here, but would be good to have them behave the same way. Personally I don't see a reason to use list-color here, it's simply harder to read.