Skip to content
New issue

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

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

Already on GitHub? # to your account

Only 10 levels are supported at most #1

Closed
mnlin0905 opened this issue May 12, 2021 · 8 comments
Closed

Only 10 levels are supported at most #1

mnlin0905 opened this issue May 12, 2021 · 8 comments

Comments

@mnlin0905
Copy link

When I try to load more than 10 levels of structure, like

* 1
  * 2
    * 3
      * 4
        * 5
          * 6
            * 7
              * 8
                * 9
                  * 10
                    * 11

It can't draw the required graph correctly

image

Without "11"

So, what should I do?

@aleen42
Copy link
Owner

aleen42 commented May 12, 2021

@mnlin0905 I'll check it later, and it seems like the problem of markmap.

@mnlin0905
Copy link
Author

@aleen42 ok, thanks

@mnlin0905
Copy link
Author

mnlin0905 commented May 12, 2021

@aleen42
Is this phenomenon similar markmap/markmap#47

@mnlin0905
Copy link
Author

@aleen42
I tried to modify the place where "new remarkable()" appears in plugin, and changed it to:

new Remarkable({
  maxNesting: Infinity
});

The problem has been solved

@aleen42
Copy link
Owner

aleen42 commented May 13, 2021

The author of dundalek/markmap seems to have already archived the project and do not maintained it anymore. You can try to open an issue for this problem, and I'll find a time to try to migrate from it to gera2ld/markmap. The fastest solution is to maintain it myself.

@mnlin0905 try the latest released version 1.1.0.

@mnlin0905
Copy link
Author

@aleen42 thanks

@mnlin0905
Copy link
Author

image

@aleen42 hi,
Can the version of nodejs be updated?
I'm currently using 12.16.2

@aleen42
Copy link
Owner

aleen42 commented May 18, 2021

The specifications have no impacts and I can run it under Node 13.x

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

No branches or pull requests

2 participants