From 91a03428957545c2601340b06de7baf7d6889f62 Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Thu, 3 Sep 2026 14:09:04 +0200 Subject: mdedit: add optional mermaid support --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 6007860..8a6bd79 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,14 @@ to the server (and thus to the source file) after one second of no typing. It is recommended to not listen on anything besides `localhost`; there is no authentication or anything. +If the `--with-mermaid` option is given, the in-browser editor will use +[mermaid.js](https://mermaid.ai/open-source/intro/getting-started.html) +to render graphs from all code snippets with the `mermaid` language, +similar to how Mermaid integration is handled e.g. on GitHub. + +**Privacy notice:** Activating this flag will cause mdedit to load mermaid.js +from on startup. + ### `prettyprompt` This renders my shell prompt. Among other things, it identifies the current -- cgit v1.3.1