markmap icon indicating copy to clipboard operation
markmap copied to clipboard

Rename root when there are more than one #1 headers

Open llinfeng opened this issue 4 years ago • 2 comments

I am using Atom with package:markdown-mindmap.


I type almost all my Markdown documents with more than one # Header in a single document. Can I give root a different name through some header/preamble components? Here is my first Mindmap produced from a very simple markdown doc:

# Topic 1
Notes on Topic 1
# Topic 2
Notes on Topic 2

image

llinfeng avatar Apr 12 '20 21:04 llinfeng

It is designed for documents with only one h1 header. I use ## h2 headers so I haven't run into this and can change the root name with # h1 header. I am not sure it is worth complicate things with an additional setting.

One option I can imagine could be to set it based on the filename. Would that be helpful in your case?

dundalek avatar Apr 13 '20 21:04 dundalek

Adopting the filename as the root would be helpful!

llinfeng avatar Apr 13 '20 23:04 llinfeng