markmap
markmap copied to clipboard
How to export my mind map to png?
How to export my mind map to png?
sometimes png is useful when pasting it on figma canvas
How?
You can do that with this Obsidian plugin. https://github.com/verocloud/obsidian-mindmap-nextgen
You can do that with this Obsidian plugin. https://github.com/verocloud/obsidian-mindmap-nextgen
but I still don't know how to do in markmap 😅.
As a workaround, You can export high definition pngs if you use Firefox.
In order to do so:
- Run
markmap $your_fileand open the output html file in firefox - Position your mind map so that it can be fully shown in the browser window
-
Ctrl+Shift+Kto pull up the debug console - Enter
:screenshot --dpr 4 --fullpageto take a high-definition screenshot - if the text in the resulting image is blurry, change the
4after--dprto a higher value.
https://github.com/JuanIrache/d3-svg-to-png
svg2png('#mindmap-graph', 'svg-to-png-q-default', { scale: 3, format: 'png', background: 'white' })