aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2026-09-03 14:09:04 +0200
committerStefan Majewsky <majewsky@gmx.net>2026-09-03 14:09:04 +0200
commit91a03428957545c2601340b06de7baf7d6889f62 (patch)
tree74e84ff19685cea0fe6c3b12f591e4c1df93f78a /README.md
parent688a652304275d2e4fe4a4be4c0c3d8d640f1138 (diff)
downloadgofu-91a03428957545c2601340b06de7baf7d6889f62.tar.gz
mdedit: add optional mermaid support
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
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 <https://cdn.jsdelivr.net> on startup.
+
### `prettyprompt`
This renders my shell prompt. Among other things, it identifies the current