Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename root when there are more than one #1 headers #34

Open
llinfeng opened this issue Apr 12, 2020 · 2 comments
Open

Rename root when there are more than one #1 headers #34

llinfeng opened this issue Apr 12, 2020 · 2 comments

Comments

@llinfeng
Copy link

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

@dundalek
Copy link
Owner

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?

@llinfeng
Copy link
Author

Adopting the filename as the root would be helpful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants