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

render as an image #22

Open
Alino opened this issue Jul 24, 2018 · 7 comments
Open

render as an image #22

Alino opened this issue Jul 24, 2018 · 7 comments

Comments

@Alino
Copy link

Alino commented Jul 24, 2018

It would be cool if there was an option to render mindmap as an image.
I can imagine how useful it would be inside an npm script. For example when generating documentation for a project, I could create a mindmap image with data models.

@dundalek
Copy link
Owner

Hi, thanks for the suggestion. It is a neat idea, but I do not have an immediate use for it myself, so I won't be likely adding this at the moment.

You can do manual exports with the atom plugin though: https://github.com/dundalek/atom-markdown-mindmap . Just right click on the mindmap and export it to SVG.

However, markmap is built as a library, so anyone can build on top of it and create a CLI tool you describe. I will keep this issue open in case someone interested stumbles on it.

@weaming
Copy link

weaming commented Sep 12, 2018

I want this feature too! It will be awesome!

@fuxy1011
Copy link

hello, this markmap is really great! it's a nice idea for render as an image, i want to this feature too too. It will be awesome! hah

@cavo789
Copy link

cavo789 commented Apr 27, 2020

Like many others, would appreciate to be able to generate an image like a png file on the command line. This in order to be able to add markmap to a documentation generation flow where everything can be done automatically until the PDF generation.

Thanks.

@AndreasTusche
Copy link

You could start with having an option to save the SVG, which you generate anyway, as a standalone file.

As an example use case: I am not using atom.io and would love to add the generation of the markmap to a Makefile, so that I can run everything from the command line. By the way, there are some svg2png converters available for the command line, so that could then also be automated....

Many thanks for your consideration.

@Stoic42
Copy link

Stoic42 commented Sep 20, 2024

I run into this scenario in need of converting markmap to pdf/png as well. I wanted to convert the product SVG to png but it shows only the leaves without the texts in Krita and other image editing tools. In the end, I got satisfactory results by using jotterpad and "Print with Template" option.
image

@cggaurav
Copy link

  • export as an image from the toolbar?

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

No branches or pull requests

8 participants