# Mermaid stopped working in lastest version 1.0.140

**URL:** <https://discourse.joplinapp.org/t/mermaid-stopped-working-in-lastest-version-1-0-140/1845>\
**Category:** Support\
**Created:** [12 March 2019 14:47 UTC](https://discourse.joplinapp.org/t/mermaid-stopped-working-in-lastest-version-1-0-140/1845 "2019-03-12T14:47:35Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeroen](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/jeroen/32/573_2.png) [@Jeroen](https://discourse.joplinapp.org/u/Jeroen)\
**Post date:** [12 March 2019 14:47 UTC](https://discourse.joplinapp.org/t/mermaid-stopped-working-in-lastest-version-1-0-140/1845/1 "2019-03-12T14:47:36Z")

</div>

The code in the image did render alrright in the previous version of Joplin

 ![140](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/1X/a08f90f0bd23408667f11fb02df5e88b02307b75.png)

---

<div class="post-metadata">

**Author:** ![laurent](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@laurent](https://discourse.joplinapp.org/u/laurent)\
**Post date:** [12 March 2019 16:07 UTC](https://discourse.joplinapp.org/t/mermaid-stopped-working-in-lastest-version-1-0-140/1845/2 "2019-03-12T16:07:15Z")

</div>

Mermaid support is currently disabled unfortunately and is under review.

---

<div class="post-metadata">

**Author:** ![frankthiel](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/frankthiel/32/779_2.png) [@frankthiel](https://discourse.joplinapp.org/u/frankthiel)\
**Post date:** [4 April 2019 04:56 UTC](https://discourse.joplinapp.org/t/mermaid-stopped-working-in-lastest-version-1-0-140/1845/3 "2019-04-04T04:56:48Z")

</div>

Now that you have added support for plugins, is it possible to add mermaid again? I kinda liked its functionality and with the new plugins option everyone could choose, whether he wants to activate it or not.

---

<div class="post-metadata">

**Author:** ![tessus](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/tessus/32/13_2.png) [@tessus](https://discourse.joplinapp.org/u/tessus)\
**Post date:** [4 April 2019 16:25 UTC](https://discourse.joplinapp.org/t/mermaid-stopped-working-in-lastest-version-1-0-140/1845/4 "2019-04-04T16:25:25Z")

</div>

I’ve been trying to add it, but ran into a few issues. I believe I have to create custom rules to make it work and add the js to the viewer. I’ll try to work on it on the weekend again.

---

<div class="post-metadata">

**Author:** ![laurent](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@laurent](https://discourse.joplinapp.org/u/laurent)\
**Post date:** [4 April 2019 16:41 UTC](https://discourse.joplinapp.org/t/mermaid-stopped-working-in-lastest-version-1-0-140/1845/5 "2019-04-04T16:41:55Z")

</div>

Note that while I’ll accept a PR for Mermaid, for now I won’t mention it to the doc or provide support for it (and I think support will be needed because it seems to be a bit buggy and it’s not clear if someone is still maintaining this lib).

---

<div class="post-metadata">

**Author:** ![tessus](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/tessus/32/13_2.png) [@tessus](https://discourse.joplinapp.org/u/tessus)\
**Post date:** [4 April 2019 17:08 UTC](https://discourse.joplinapp.org/t/mermaid-stopped-working-in-lastest-version-1-0-140/1845/6 "2019-04-04T17:08:11Z")

</div>

> [@laurent](#):
>
> I’ll accept a PR for Mermaid,

Good to know, but I am not even sure, if I get it working...

> [@laurent](#):
>
> I won’t mention it to the doc or provide support for it

This is actually a very good point. I think it should be mentioned in the FAQ and the README.md that you cannot maintain any of the plugins, because they are not your code (upstream) and that they are provided as is.

---

<div class="post-metadata">

**Author:** ![laurent](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@laurent](https://discourse.joplinapp.org/u/laurent)\
**Post date:** [4 April 2019 17:26 UTC](https://discourse.joplinapp.org/t/mermaid-stopped-working-in-lastest-version-1-0-140/1845/7 "2019-04-04T17:26:39Z")

</div>

The issue is that although we can say we don’t maintain plugins, if they are buggy or cause problems in Joplin, it still looks that it is Joplin that doesn’t work properly. It basically gives the feeling of an unstable app.

So there’s a fine line here and Mermaid is a bit at the limit - a bit buggy but at the same time very popular. So I guess we can add it, and rather than not documenting it we’ll put a warning saying that integration is experimental, that we cannot support it, and certain things won’t work, etc.

---

<div class="post-metadata">

**Author:** ![tessus](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/tessus/32/13_2.png) [@tessus](https://discourse.joplinapp.org/u/tessus)\
**Post date:** [4 April 2019 18:51 UTC](https://discourse.joplinapp.org/t/mermaid-stopped-working-in-lastest-version-1-0-140/1845/8 "2019-04-04T18:51:13Z")

</div>

> [@laurent](#):
>
> rather than not documenting it we’ll put a warning saying that integration is experimental, that we cannot support it, and certain things won’t work, etc.

Sounds good.

---

<div class="post-metadata">

**Author:** ![zblesk](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/zblesk/32/11_2.png) [@zblesk](https://discourse.joplinapp.org/u/zblesk)\
**Post date:** [5 April 2019 15:41 UTC](https://discourse.joplinapp.org/t/mermaid-stopped-working-in-lastest-version-1-0-140/1845/9 "2019-04-05T15:41:17Z")

</div>

> [@laurent](#):
>
> we’ll put a warning

Ideally with a big, fat ⚠ right where the plugin is turned on. (And make it off by default.)

---

<div class="post-metadata">

**Author:** ![DawMatt](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/dawmatt/32/1402_2.png) [@DawMatt](https://discourse.joplinapp.org/u/DawMatt)\
**Post date:** [15 September 2019 13:40 UTC](https://discourse.joplinapp.org/t/mermaid-stopped-working-in-lastest-version-1-0-140/1845/10 "2019-09-15T13:40:16Z")

</div>

Hi All,

Has there been any update on the position around Mermaid support?

I’m a heavy Mermaid user and am used to the level of support available in VS Code, but it is not suitable as a general purpose notetaking app. I’ve been using Joplin for a couple of months now and generally finding it a great replacement for Evernote and OneNote, but the lack of Mermaid diagram support is a sore point for me. Would really love to see this re-enabled in the product even if there were big warning signs next to it. This is one of the main points that keeps me looking at the Typora app to see how it is progressing.

Thanks, Matt

---

<div class="post-metadata">

**Author:** ![gmaosn](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/gmaosn/32/566_2.png) [@gmaosn](https://discourse.joplinapp.org/u/gmaosn)\
**Post date:** [26 September 2019 04:06 UTC](https://discourse.joplinapp.org/t/mermaid-stopped-working-in-lastest-version-1-0-140/1845/11 "2019-09-26T04:06:49Z")

</div>

Same here. I found mermaid very useful.

---

<div class="post-metadata">

**Author:** ![tessus](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/tessus/32/13_2.png) [@tessus](https://discourse.joplinapp.org/u/tessus)\
**Post date:** [26 September 2019 05:02 UTC](https://discourse.joplinapp.org/t/mermaid-stopped-working-in-lastest-version-1-0-140/1845/12 "2019-09-26T05:02:46Z")

</div>

I will work on this in October…

---

<div class="post-metadata">

**Author:** ![DawMatt](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/dawmatt/32/1402_2.png) [@DawMatt](https://discourse.joplinapp.org/u/DawMatt)\
**Post date:** [17 October 2019 10:00 UTC](https://discourse.joplinapp.org/t/mermaid-stopped-working-in-lastest-version-1-0-140/1845/13 "2019-10-17T10:00:52Z")

</div>

Thanks @tessus ! I can see you have started on this now.

---

<div class="post-metadata">

**Author:** ![joeltaylor](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/joeltaylor/32/1988_2.png) [@joeltaylor](https://discourse.joplinapp.org/u/joeltaylor)\
**Post date:** [3 January 2020 19:21 UTC](https://discourse.joplinapp.org/t/mermaid-stopped-working-in-lastest-version-1-0-140/1845/14 "2020-01-03T19:21:24Z")

</div>

Looks like progress has been paused on this since Nov 2019 ([https://github.com/laurent22/joplin/issues/2001](https://github.com/laurent22/joplin/issues/2001)). Is there still interest in proceeding? If so, how can I help?

---

<div class="post-metadata">

**Author:** ![tessus](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/tessus/32/13_2.png) [@tessus](https://discourse.joplinapp.org/u/tessus)\
**Post date:** [3 January 2020 22:05 UTC](https://discourse.joplinapp.org/t/mermaid-stopped-working-in-lastest-version-1-0-140/1845/15 "2020-01-03T22:05:12Z")

</div>

The problem is that the render code was moved out of the core code, so now it’s a bit more complicated to add it back. I did some changes locally and it was working fine, but now I have to figure out how to make it work again.
