filter start if only one child, newline problem

This commit is contained in:
Guilhem Fauré 2023-04-26 11:55:00 +02:00
parent 5f9b1054ed
commit f62c634880

View File

@ -1,10 +1,10 @@
start: unordered_list
| ordered_list
| table
| SEPARATOR
| N+
| heading
| paragraph
?start: unordered_list
| ordered_list
| table
| SEPARATOR
| N+
| heading
| paragraph
unordered_list: ( N "-*" list_element )+
ordered_list: ( N "-#" list_element )+