From ea750a2c064c3c643bb09c087181e53216371967 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Thu, 27 Jul 2023 14:04:34 +0600 Subject: [PATCH] change default renderer of index.md mermaid drawer --- docs/index.md | 3 ++- mkdocs.yml | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/index.md b/docs/index.md index 620fd49..7fb31d2 100644 --- a/docs/index.md +++ b/docs/index.md @@ -16,7 +16,8 @@ Hello :) It is my libraries docs place and I glad to welcome you here. I hope, t ## Dependencies graph: ```mermaid -flowchart BT +%%{init: {"flowchart": {"defaultRenderer": "elk"}} }%% +flowchart TB KSLog[KSLog] MicroUtils[MicroUtils] TelegramBotAPI[TelegramBotAPI] diff --git a/mkdocs.yml b/mkdocs.yml index 239df8a..df23ab4 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -111,10 +111,10 @@ markdown_extensions: - pymdownx.inlinehilite - pymdownx.snippets - pymdownx.superfences: - custom_fences: - - name: mermaid - class: mermaid - format: !!python/name:mermaid2.fence_mermaid + custom_fences: + - name: mermaid + class: mermaid + format: !!python/name:mermaid2.fence_mermaid - admonition - pymdownx.details