Supporting markdown syntax

0 votes
asked Feb 14, 2024 in Wanted features by oihgwta (120 points)
I just found PlantUML and it looks like a very useful tool. I use markdown a lot and would love to be able to use PlantUML to generate mindmaps from my markdown documents.

Reading the documentation it seems PlantUML supports a simple form of markdown where levels are defined by one or more '*'. However, I would need it to use multiple levels of '#', '-' etc to create mindmaps. An additional feature request would be that if the file extension is 'md' it could be forced to mindmap output.

Might this perhaps already be under development? If so, that would be great. I should add I am running PlantUML 1.2023.7 under CentOS 7.

1 Answer

0 votes
answered Feb 27, 2024 by plantuml (296,000 points)

With last snapshort, you have this.

Is this what you are looking for?

commented Feb 28, 2024 by oihgwta (120 points)
edited Feb 29, 2024 by oihgwta
Thank you for looking at this. However, this seems to cover just headers at various levels. For this to be useful it should support at least some of other the markdown elements, such as lists, links, text formatting, even tables. Lists, links and text formatting are very important.

By the way, how many levels of headers does it support now? HTML supports H1 through H6 so I think that would be reasonable.

I should add that I would very much like PlantUML to use standard markdown-files to create mindmaps, ie. no need to modify the markdown content by prefixing it by @startmindmap and @endmindmap.
commented Mar 7, 2024 by oihgwta (120 points)
I am thinking that one way to make this possible would be to allow plantuml to use options specifying both type of intput fileformat and type of outputf fileformat. Thus, giving the option for input fileformat as md and the option for output fileformat as mindmap on the command line would allow generating mindmaps from existing markdown files. This would be an alternative use to beginning the markdown file with @startmindmap and ending it with @endmindmap.
...