4 ms·
Sure. Writing: - foo Is the same as writing: <node type="list-item">foo</node> It can be parsed identically. If you just parse it into a hash table, lik
by sillysaurus3 9y ago
Sure. Writing:
- foo
Is the same as writing:
<node type="list-item">foo</node>
It can be parsed identically. If you just parse it into a hash table, like {type: "list-item", value: "foo"}, then all of this becomes a non-issue. It's an intermediate format, so you can take that hash table and write it out as either of the above. You could even transpile org text into HTML and vice-versa.