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

[Help] SVG structure (colour rendering) not working for indented nested lists #230

Closed
EsperantoP opened this issue Feb 12, 2024 · 5 comments

Comments

@EsperantoP
Copy link

EsperantoP commented Feb 12, 2024

SVG structure (the parameter colourFreezeLevel) seems not working for nested lists:
image
(Please ignore the content💀)

Context:
Why is this issue here?

(I am not a developer hence I am unable to solve this problem myself :(
I saw the level of heading was limited in HTML as well as in Markdown... I personally think it is quite unfortunate but reasonable.
As you see in the picture, my "notes" perhaps required many "heading levels" to complete but it is not available.
Hence I saw the solution for this in the markmap Documentation - FAQ
So I think it is somehow reasonable as why I use neasted lists (?)

I've reviewed some issues with this kind of issue.
Accroding to the Solution:

---
markmap:
    "color" = "blue"
---

even this "blue " is not in brackets [], it will still work as I have used it, though unfortunately not for me...

or

---
markmap:
    "color" = "#000000"
----

are possible solution to this problem.
But it does change the colour overall, so the parameter colorFreezeLevel does not function anymore (though it was not functioning with neasted lists before)

I would appreciate it if there are some possible solutions!
Thanks!

@EsperantoP
Copy link
Author

EsperantoP commented Feb 12, 2024

I heavily apologies that I forgot to mention my markmap is the plugin verion in VS Code.

Also if you require any further information such as my markdown document please notify me then I'll provide it.

Thanks :)

@gera2ld
Copy link
Member

gera2ld commented Feb 13, 2024

Could you provide a full example of your Markdown file? The snippet above seems invalid.

BTW here is a working example:

---
markmap:
  colorFreezeLevel: 2
---

## Topics

- topic 1
  - child 1
    - child 1.1
    - child 1.2
  - child 2
    - child 2.1
    - child 2.2
- topic 2
  - child 2.1
  - child 2.2

@EsperantoP
Copy link
Author

Could you provide a full example of your Markdown file? The snippet above seems invalid.

BTW here is a working example:

---
markmap:
  colorFreezeLevel: 2
---

## Topics

- topic 1
  - child 1
    - child 1.1
    - child 1.2
  - child 2
    - child 2.1
    - child 2.2
- topic 2
  - child 2.1
  - child 2.2

I really appreciate it1 <3
Here is my markdown:
SB1.md

I guess this is caused by missing a heading initially?

@EsperantoP
Copy link
Author

I really appreciate it1 <3 Here is my markdown: SB1.md

I guess this is caused by missing a heading initially?

I heavily apologise, I used British format to spell the parameter colorFreezeLevel hence I spelled it as colourFreezeLevel that obviously wouldn't work as the variable assgined is not used in the statement💀

@EsperantoP
Copy link
Author

EsperantoP commented Feb 13, 2024

Conclution:
This problem caused by misspelling of variable colorFreezeLevel.

All the function of the program is fine and working well.

This problem is caused by an external, artificial factor which is me.

All nested lists should work in any kind of format if with a suitable indentation.

yeah, I am being stupid

Acknowledgement:
Appreciating the dev to contribute this problem just after the issue posted 5 hours later!

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