Spaces in Markdown syntax in MindMap

0 votes
asked Apr 21, 2021 in Wanted features by Michael
Hello :) I use MindMap in VSCode with PlantUML extension on Macbook. I use Markdown syntax. If I use spaces instead of tabs for indentation then Markdown syntax does not work. It would be great if Markdown syntax worked with spaces.

Thank you for PlantUML! Great app!
commented Oct 5, 2022 by Sebastian Setzer
I tried with the beta, and it still doesn't work there.

This is an even worse nuisance when you use it from sphinx, because there you can't use tabs.

See https://github.com/sphinx-contrib/plantuml.
commented Oct 5, 2022 by Sebastian Setzer
Ooops, wrong link..
this is the related sphinx ticket: https://github.com/sphinx-contrib/plantuml/issues/49
commented Oct 5, 2022 by plantuml (294,960 points)

> I tried with the beta, and it still doesn't work there.

Thanks for the report. However, this example with space is working. And this example with tab is also working.

Could you give a short example that shows the defect?

Thanks!

1 Answer

0 votes
answered Apr 22, 2021 by plantuml (294,960 points)
 
Best answer
It works with a single space.

See: http://www.plantuml.com/plantuml/umla/SoWkIImgoStCIybDBE3IKWZFByf9uLBGKd3CJItAJ4xaKW2oVLChCfFpmSpGO4S5aBHhQL5-GIfOoBCaCQSIp0ekICpCK-1oICrBWPe80000

Could you post a simple non-working example ? It would help.

Thanks !
commented Apr 28, 2021 by The-Lu (63,920 points)

Hello PlantUML,

The only remains defect is :

@startmindmap
 * World
  * America
   * Mexico
   * USA 
  * Europe
   * Italy
   * Spain 
@endmindmap

See Markdown example on https://forum.plantuml.net/12230/allow-significant-indentation-beginning-mindmap-diagram

But it is perhaps difficult to correct.

And a workaround is to use Normal form or OrgMode syntaxwink

Regards,
Th.

commented May 6, 2021 by plantuml (294,960 points)
Thanks for the report!

This is fixed in last beta http://beta.plantuml.net/plantuml.jar
...