Closed sthesing closed 5 years ago
I think this is useful and would like to have it.
The parsing part should be pretty straightforward. The more difficult part is the rendering because there can be circular references. So instead of a tree we get a general graph. So we would need extra logic to handle expanding/collapsing of nodes.
If we figure this out we could also use it to support displaying hierarchy of files in a filesystem in the atom extension. This would be really useful since I have a notes directory full of markdown files. It would be convenient to have all my notes available in one graph.
This is now implemented, I use it in the atom extension.
I love the basic idea of this tool. If I understand it correctly, it visualizes the hierarchical structure of headings and subheadings. It would be cool to have another mode that parses the markdown files for relative links between each other and visualize those. Do you think that's possible?
Example:
These three files would show up as some sort of triangle in the visualization:
file1.md:
file2.md:
file3.md: