optional line break at end of list items
This commit is contained in:
parent
c9906c56cc
commit
79a50d5e83
@ -13,8 +13,8 @@ HORIZONTAL_RULE: /- *- *- *- *[\- ]*/
|
|||||||
?list: unordered_list
|
?list: unordered_list
|
||||||
| ordered_list
|
| ordered_list
|
||||||
|
|
||||||
unordered_list: ( _UL list_item _N )+
|
unordered_list: ( _UL list_item _N )* _UL list_item _N?
|
||||||
ordered_list: ( _OL list_item _N )+
|
ordered_list: ( _OL list_item _N )* _OL list_item _N?
|
||||||
list_item: _inline{TEXT}+
|
list_item: _inline{TEXT}+
|
||||||
_UL: /-\*|-(?!#|---)/
|
_UL: /-\*|-(?!#|---)/
|
||||||
_OL: /-#/
|
_OL: /-#/
|
||||||
|
Loading…
Reference in New Issue
Block a user