3 ms·
How about processing simple Markdown? # main ## topic one ### subtopic one ## topic two
by melling 11y ago
How about processing simple Markdown?
# main
## topic one
### subtopic one
## topic two
- jerf 11y agoWhat's the advantage of that? (It's not like you're going to get to use hardly anything else from Markdown.)
- melling 11y agoI was thinking of the Use Case where you take some existing Markdown. Apple is going to use it in their Notes app, for example, so it might become even more popular. I also have md on Github that I might want to use.
- jerf 11y agoOh, I wouldn't Markdown that represents real documents to produce anything useful, so I just automatically skipped that possibility. If you've got a real document that produces a non-trivial graph when you render its headers this way, you've probably got yourself a really, really poorly written document. Written text needs to have been serialized somehow, and as a side effect, you'll make the graphviz view of the document pathologically uninteresting. Conventional outline views are much better suited for written text.