Closed x3ro closed 4 years ago
Good catch on both! The single space was indeed a mistake.
As for the issue with the indentation levels, that incorrect behavior is likely due to the incompleteness of the js parser (there are many things in the js parser that are not to spec).
I'm hoping to dive into #4 (and some open questions around the spec) before worrying too much about getting the example parser up to spec.
When looking at the note taking example on the Try margin page, the first couple of lines of content currently look like this (SublimeText screenshot so that invisible characters are visible):
I'm somewhat confused about the resulting AST, so here are my questions:
Graphic design [...]
line it becomes a child of the previous line, though in that case I would expect it not to be, given that both lines now share the same level of indentation?This is potentially related to #5, since it appears to be caused by mixing of tabs and spaces 🤔