Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: