Visual Studio Code 
On another note, it’s noticeable how Wiki.js is still rather “young” in its functionalities. It has, for example, support for using “Mermaid” to render custom flow charts, and its mentioned on their Markdown documentation page, but if you actually attempts to use it you’ll find that while it works properly during editing, it doesn’t actually get rendered (saved) correctly by the server.
And if you then attempt to troubleshoot it you’ll find that the Mermaid rendering module only seems to be featured below the HTML->HTML rendering pipeline, with none mentioned below Markdown->HTML rendering pipeline – which is confusing!
Looking into it a bit further shows that there’s an extension called “Puppeteer” that can be installed which allows for server-side rendering:
Headless chromium browser for server-side rendering. Required for generating PDF versions of pages and render content elements on the server (e.g. Mermaid diagrams)
Looks like that applies, right? But on the same page:
New extensions cannot be installed at the moment. This feature is coming in a future release.

And trying to find installation instructions for Puppeteer for Wiki.js seems impossible – they don’t even mention the extension at all in the official Wiki.js documentation!
But then! After looking through and trying to figure a solution out, I discovered the “Kroki” diagram parser mentioned in the official Wiki.js documentation that offers external server-side rendering!
And what do you know? It actually works! Although only for server-side rendering so during editing one needs to still rely on the Markdown client-side rendering before migrating the thing over to Kroki-based server-side rendering just before hitting that Save button…
So during editing (client-side rendering):
```mermaid
graph LR
mermaid stuff here
```
Just before hitting save (server-side rendering):
```kroki
mermaid
graph LR
mermaid stuff here
```
You can see an example of a mermaid diagram here:
https://wiki.special-k.info/en/Installation/Tools#global-injection
Just an example of how young Wiki.js still is…