Improve code to determine unordered list style for MD004/ul-style (fixes #104).

This commit is contained in:
David Anson 2018-01-31 21:32:50 -08:00
parent c0ea22e55e
commit 056608a680
4 changed files with 61 additions and 38 deletions

View file

@ -29,8 +29,8 @@ Text
Text
> - Item
> - Item
> - Item {MD004}
> - Item {MD004}
Text
@ -40,35 +40,35 @@ Text
Text
> * Item
> * Item
> * Item {MD030}
> * Item {MD005}
> * Item {MD005}
> * Item {MD004}
> * Item {MD004}
> * Item {MD004} {MD030}
> * Item {MD004} {MD005}
> * Item {MD004} {MD005}
Text
> Text
> > - Item
> > - Item {MD027}
> > - Item
> > > - Item
> > > - Item {MD027}
> > > - Item {MD027}
> > - Item {MD004}
> > - Item {MD004} {MD027}
> > - Item {MD004}
> > > - Item {MD004}
> > > - Item {MD004} {MD027}
> > > - Item {MD004} {MD027}
Text
>* Item
> * Item
>>* Item
>> * Item
>+ Item
> + Item
>>+ Item
>> + Item
Text
> Quoted text
>
> * A list
> * of items
> * A list {MD004}
> * of items {MD004}
>
> More quoted text
@ -76,8 +76,8 @@ Text
> Quoted text
>
> > * A list
> > * of items
> > + A list
> > + of items
>
> More quoted text
@ -85,7 +85,7 @@ Text
> Quoted text
>
> > * A list
> > * of items
> > - A list {MD004}
> > - of items {MD004}
> >
> > More quoted text

View file

@ -0,0 +1,23 @@
# Header
Text
- Item
- Item
Text
>- Item
>- Item
Text
> - Item
> - Item
Text
> > - Item
> > - Item
Text