On 2020-10-26 at 14:00 -07, Tom Gillespie <tgb...@gmail.com> wrote... >> list ::= ('+' string newline)+ sublist? >> sublist ::= (indent list)+ >> >> I think this captures lists? > > Ah yes, I see my mistake here. In order for this to work the parser > has to implement significant whitespace, so whitespace cannot be > parsed into a single token. I think everything works out after that.
If we agree that the syntax above captures lists and sublists, then I think we could apply the same methods to the issue of headlines and sub-headlines? -k.