From bff9845eef98d56e0f0279714aaa841d1629c6c1 Mon Sep 17 00:00:00 2001 From: Bernd Reuther Date: Thu, 22 Oct 2020 11:03:34 +0200 Subject: [PATCH] =?UTF-8?q?mermaid=20eingef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/index.md | 22 ++++++++++++++++++++++ mkdocs.yml | 1 + 2 files changed, 23 insertions(+) diff --git a/docs/index.md b/docs/index.md index aabc0fe..e952634 100644 --- a/docs/index.md +++ b/docs/index.md @@ -370,3 +370,25 @@ pip3 install mkdocs-with-pdf plugins: - with-pdf ``` + +#### Block-Diagramme + +``` +pip3 install mkdocs-mermaid2-plugin +``` + +Änderung in "mkdocs.yml": + +``` +plugins: + - mermaid2 +``` + +Beispiel: + +```mermaid +graph TD +A[Client] --> B[Load Balancer] +B --> C[Server01] +B --> D[Server02] +``` diff --git a/mkdocs.yml b/mkdocs.yml index 65d47cc..c3c64ce 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -32,3 +32,4 @@ plugins: placeholder: z.B. 0.0.0.0 DOMAIN_NAME: placeholder: z.B. fritz.box + - mermaid2 \ No newline at end of file