# Plugin: MarkMap

**URL:** <https://discourse.joplinapp.org/t/plugin-markmap/30426>\
**Category:** Plugins\
**Created:** [14 April 2023 20:02 UTC](https://discourse.joplinapp.org/t/plugin-markmap/30426 "2023-04-14T20:02:36Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Vijayendra](https://avatars.discourse-cdn.com/v4/letter/v/a87d85/32.png) [@Vijayendra](https://discourse.joplinapp.org/u/Vijayendra)\
**Post date:** [26 May 2023 08:34 UTC](https://discourse.joplinapp.org/t/plugin-markmap/30426/21 "2023-05-26T08:34:15Z")

</div>

After saving to note, the text color is not visible in dark theme. Can we save will same color scheme as in viewer?

---

<div class="post-metadata">

**Author:** ![danielfomin96](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/danielfomin96/32/9053_2.png) [@danielfomin96](https://discourse.joplinapp.org/u/danielfomin96)\
**Post date:** [26 May 2023 21:43 UTC](https://discourse.joplinapp.org/t/plugin-markmap/30426/22 "2023-05-26T21:43:28Z")

</div>

Thank you for your feedback!  
A fix is pretty difficult to accomplish since Joplin uses the restricted \<img\>-tag for displaying the saved svg file, instead of the \<svg\>-tag. Because of the tag the color cannot change according to the current theme (dark/light).  
There is the possibility to always use a font color that could be seen on a white as well as on a dark background, however, I am not sure whether this is a good idea...

EDIT (15.11.2023): formatting and clarification

---

<div class="post-metadata">

**Author:** ![Struem](https://avatars.discourse-cdn.com/v4/letter/s/a88e57/32.png) [@Struem](https://discourse.joplinapp.org/u/Struem)\
**Post date:** [13 June 2023 15:22 UTC](https://discourse.joplinapp.org/t/plugin-markmap/30426/23 "2023-06-13T15:22:10Z")

</div>

Hi first of all i like you Addon really much +rep.

I have a question will it be possible to add the functionality to use pictures in the map?

Like instead of the text after a "#" one could insert a picture and it would showup in the map

---

<div class="post-metadata">

**Author:** ![danielfomin96](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/danielfomin96/32/9053_2.png) [@danielfomin96](https://discourse.joplinapp.org/u/danielfomin96)\
**Post date:** [14 June 2023 08:03 UTC](https://discourse.joplinapp.org/t/plugin-markmap/30426/24 "2023-06-14T08:03:02Z")

</div>

Thanks!

I tested it right now and it seems that images using an url work (e.g. ![gif] ([https://clipart-library.com/img/1992522.gif](https://clipart-library.com/img/1992522.gif)) ) but not if images from joplin are used. I will look into it.

---

<div class="post-metadata">

**Author:** ![victorkane](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/victorkane/32/1913_2.png) [@victorkane](https://discourse.joplinapp.org/u/victorkane)\
**Post date:** [18 June 2023 12:24 UTC](https://discourse.joplinapp.org/t/plugin-markmap/30426/25 "2023-06-18T12:24:12Z")

</div>

First of all, thanks so much for this plugin! I went to your source code site and found just the issue I was going to mention, namely in issue 1, since when I tried to include front matter specifying initialExpandLevel, but it didn't work. And I see you have raised that very issue yourself.

Simply wanted to "like" that issue, whenever it can be solved that would be great! (cannot login to gitea page, otherwise simply would have registered support for that issue there).

Thanks again for a great plugin, it's great, for example, how the popup is a browser window itself, so it respects link and you can return to the markmap!

---

<div class="post-metadata">

**Author:** ![RitZz](https://avatars.discourse-cdn.com/v4/letter/r/c89c15/32.png) [@RitZz](https://discourse.joplinapp.org/u/RitZz)\
**Post date:** [30 September 2023 03:23 UTC](https://discourse.joplinapp.org/t/plugin-markmap/30426/26 "2023-09-30T03:23:23Z")

</div>

Hey, Sorry for a dumb question

But how does the export to HTML thing work? When I export the HTML normally and open it. All I see is the first blue line. Nothing can be clicked.

All my notes are usually stored and synced with the Joplin Server Docker container. so they aren't stored locally.

---

<div class="post-metadata">

**Author:** ![danielfomin96](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/danielfomin96/32/9053_2.png) [@danielfomin96](https://discourse.joplinapp.org/u/danielfomin96)\
**Post date:** [9 October 2023 13:12 UTC](https://discourse.joplinapp.org/t/plugin-markmap/30426/27 "2023-10-09T13:12:10Z")

</div>

Hi @RitZz,

Thank you for asking!  
There was a bug which is why it did not work. It should now be fixed in version 1.4.2.

---

<div class="post-metadata">

**Author:** ![RitZz](https://avatars.discourse-cdn.com/v4/letter/r/c89c15/32.png) [@RitZz](https://discourse.joplinapp.org/u/RitZz)\
**Post date:** [13 October 2023 00:20 UTC](https://discourse.joplinapp.org/t/plugin-markmap/30426/28 "2023-10-13T00:20:49Z")

</div>

Awesome, thanks for making it clear.

_Waits patiently for v1.4.2_

---

<div class="post-metadata">

**Author:** ![pravsripad](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/pravsripad/32/7365_2.png) [@pravsripad](https://discourse.joplinapp.org/u/pravsripad)\
**Post date:** [24 October 2023 02:21 UTC](https://discourse.joplinapp.org/t/plugin-markmap/30426/29 "2023-10-24T02:21:00Z")

</div>

Thanks for the bug fix. I'm also waiting for v1.4.2 to show up for update under the Plugins section, but don't see it yet. Does this happen for major versions only or am I missing something on my end?

---

<div class="post-metadata">

**Author:** ![danielfomin96](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/danielfomin96/32/9053_2.png) [@danielfomin96](https://discourse.joplinapp.org/u/danielfomin96)\
**Post date:** [15 November 2023 22:46 UTC](https://discourse.joplinapp.org/t/plugin-markmap/30426/30 "2023-11-15T22:46:35Z")

</div>

Hey everyone,

There is now even another update! v1.5.0, with the following changelog:

```auto
Changelog:

    Toolbar functionality
    Update markmap version to v0.15.4

```

(Hopefully the publishing process went well this time so that the update will be shown within the next hour)

---

<div class="post-metadata">

**Author:** ![mshuflin](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/mshuflin/32/15430_2.png) [@mshuflin](https://discourse.joplinapp.org/u/mshuflin)\
**Post date:** [27 November 2023 00:47 UTC](https://discourse.joplinapp.org/t/plugin-markmap/30426/31 "2023-11-27T00:47:06Z")

</div>

Thanks for making this plugin, it is great! One issue I am having is that I can't get the frontmatter ([JSON options - markmap docs](https://markmap.js.org/docs/json-options)) to be used by the extension. For example, when I add

```auto
---
markmap:
  maxWidth: 300
---

```

it does not change the rendering behavior

---

<div class="post-metadata">

**Author:** ![danielfomin96](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/danielfomin96/32/9053_2.png) [@danielfomin96](https://discourse.joplinapp.org/u/danielfomin96)\
**Post date:** [27 November 2023 23:06 UTC](https://discourse.joplinapp.org/t/plugin-markmap/30426/32 "2023-11-27T23:06:19Z")

</div>

Hi @mshuflin,

I know it is not quite what you are asking for, but I have implemented global settings for markmap rendering, as described by your referenced docs. I wanted to start with this first since it is, in my view, more elegant than having the front-matter in the notes in joplin even though it does not allow per-note settings.  
Later, I will additionally include per-note settings. Hopefully until then joplin will have a more elegant way to either hide the front-matter or move this data to note metadata.

Nonetheless, I hope that this update helps your use case a bit.

Version 1.6.0:

```auto
Changelog:

    Feature: Global settings for markmap rendering

```

---

<div class="post-metadata">

**Author:** ![mshuflin](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/mshuflin/32/15430_2.png) [@mshuflin](https://discourse.joplinapp.org/u/mshuflin)\
**Post date:** [28 November 2023 00:25 UTC](https://discourse.joplinapp.org/t/plugin-markmap/30426/33 "2023-11-28T00:25:00Z")

</div>

Thanks so much! That actually fits my use case even better, as I essentially just want to wrap the long text on all my notes and don't want the front matter in my notes

---

<div class="post-metadata">

**Author:** ![dukeja](https://avatars.discourse-cdn.com/v4/letter/d/7ba0ec/32.png) [@dukeja](https://discourse.joplinapp.org/u/dukeja)\
**Post date:** [15 March 2024 16:12 UTC](https://discourse.joplinapp.org/t/plugin-markmap/30426/34 "2024-03-15T16:12:22Z")

</div>

This plug-in is very interesting to me, but it seems to only present the content of a single note as a map. I have used TheBrain and XMind extensively and looking for the similar feature in Joplin that can present a FOLDER/NOTEBOOK (instead of a note) or a TAG as a mind map. And the sub-folder/sub-notebook becomes a node that extended into a branch. And maybe the first image in the note maybe optionally used as node icon.

Would it be possible to be implemented in this plug-in? or suggestion to another plug-in? Thanks!

---

<div class="post-metadata">

**Author:** ![danielfomin96](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/danielfomin96/32/9053_2.png) [@danielfomin96](https://discourse.joplinapp.org/u/danielfomin96)\
**Post date:** [20 March 2024 17:13 UTC](https://discourse.joplinapp.org/t/plugin-markmap/30426/35 "2024-03-20T17:13:20Z")

</div>

Hi @dukeja,

Unfortunately, I do not see a way to integrate this feature into the current plugin since it would need to integrate with different joplin mechanisms compared to the current plugin.  
Nonetheless, parts of the current plugin code could be reused. If I have some time I will look into it.

---

<div class="post-metadata">

**Author:** ![dukeja](https://avatars.discourse-cdn.com/v4/letter/d/7ba0ec/32.png) [@dukeja](https://discourse.joplinapp.org/u/dukeja)\
**Post date:** [20 March 2024 17:52 UTC](https://discourse.joplinapp.org/t/plugin-markmap/30426/36 "2024-03-20T17:52:41Z")

</div>

Thank you so much for your reply.

I came to realized that the MarkMap is more like Xmind (graphical view of a single note) instead of "mind map" (graphical view of linked notes). Each has its own wonderful use, but they are quite different in both usage and coding.

---

<div class="post-metadata">

**Author:** ![t0dd](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/t0dd/32/743_2.png) [@t0dd](https://discourse.joplinapp.org/u/t0dd)\
**Post date:** [14 May 2024 18:10 UTC](https://discourse.joplinapp.org/t/plugin-markmap/30426/37 "2024-05-14T18:10:37Z")

</div>

Is there a means to refresh the mindmap as you edit the document? If I hit CTRL-SHIFT-M it will open a second mindmap view, but not just refresh the current one.

---

<div class="post-metadata">

**Author:** ![danielfomin96](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/danielfomin96/32/9053_2.png) [@danielfomin96](https://discourse.joplinapp.org/u/danielfomin96)\
**Post date:** [14 May 2024 21:20 UTC](https://discourse.joplinapp.org/t/plugin-markmap/30426/38 "2024-05-14T21:20:51Z")

</div>

Hi @t0dd,

With version 1.7.0 this problem should alleviated, since now CTRL-SHIFT-M should just refresh the mindmap without opening a new view.

```auto
Changelog:

    Feature: Refresh dialog when hotkey is pressed
    Disable markmap branding on toolbar

```

---

<div class="post-metadata">

**Author:** ![t0dd](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/t0dd/32/743_2.png) [@t0dd](https://discourse.joplinapp.org/u/t0dd)\
**Post date:** [17 May 2024 12:17 UTC](https://discourse.joplinapp.org/t/plugin-markmap/30426/39 "2024-05-17T12:17:34Z")

</div>

> [@danielfomin96](#):
>
> With version 1.7.0 this problem should alleviated, since now CTRL-SHIFT-M should just refresh the mindmap without opening a new view.

That solved it. Thanks.

---

<div class="post-metadata">

**Author:** ![Catakan](https://avatars.discourse-cdn.com/v4/letter/c/73ab20/32.png) [@Catakan](https://discourse.joplinapp.org/u/Catakan)\
**Post date:** [24 August 2024 19:24 UTC](https://discourse.joplinapp.org/t/plugin-markmap/30426/40 "2024-08-24T19:24:36Z")

</div>

Hi @danielfomin96 !  
Firstly, thanks for this great plugin, works like a charm. I have a feature request if I may.

Mind map for **General Notebook** not for just parsing Note Markdown itself.

**Current Behavior:**

> Notebook1:
> 
> > Subnotebook1
> > 
> > > Note1
> > > 
> > > > Heading 1  
> > > > Heading 2

Markmap creates:  
Heading1 - Heading2 (and their subcontents respectively).

**New Feature: (maybe toggle on/off ?)**

> Notebook1:
> 
> > Subnotebook1
> > 
> > > Note1
> > > 
> > > > Heading 1  
> > > > Heading 2

> Notebook2:
> 
> > Subnotebook2
> > 
> > > Note2
> > > 
> > > > Heading 3  
> > > > Heading 4

With new feature, Markmap creates:  
Notebook1 - Subnotebook1 - Note1  
Notebook2 - Subnotebook2 - Note2

So basically gives a more macro hierarchical overview of current situation in Joplin (Only including notebooks, subnotebooks (can be a lot), and all subnotebooks note headings.)

This would be really useful for more macro management (and for different variations of note keeping.)

Thanks.

[Previous page](https://discourse.joplinapp.org/t/plugin-markmap/30426.md?page=1)

[Next page](https://discourse.joplinapp.org/t/plugin-markmap/30426.md?page=3)
