-
hi, I am looking for a mindmap extension for marp in VS code. I tried Markdown Preview Markmap Support, but it does not work. Any other tool I can use, or which syntax MARP follows? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I found MarkMap in VS code extension, it works in a separate file. How to import it into MARP and apply to one slide? |
Beta Was this translation helpful? Give feedback.
-
If you want to stick to VS Code (GUI interface), there is no way to combine MarkMap and Marp into one file. You should export MarkMap to SVG image, and use it in Marp Markdown via Markdown image syntax If you are open to CLI, you can probably render MarkMap diagrams written in your Marp Markdown directly, by using a possibly compatible markdown-it plugin. See https://github.com/marp-team/marp-cli#functional-engine about how to use Marp/markdown-it plugins with Marp CLI. (Disclaimer: I have not tested) |
Beta Was this translation helpful? Give feedback.
If you want to stick to VS Code (GUI interface), there is no way to combine MarkMap and Marp into one file. You should export MarkMap to SVG image, and use it in Marp Markdown via Markdown image syntax
![](markmap.svg)
.If you are open to CLI, you can probably render MarkMap diagrams written in your Marp Markdown directly, by using a possibly compatible markdown-it plugin. See https://github.com/marp-team/marp-cli#functional-engine about how to use Marp/markdown-it plugins with Marp CLI. (Disclaimer: I have not tested)