From 936995070995d09cbf53284e7826257058d95220 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Mon, 30 Jan 2023 22:18:36 +0100 Subject: [PATCH] Book: Enable mermaid for mdbook --- book/en/book.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/book/en/book.toml b/book/en/book.toml index 98c5bf3f72..e134c291b9 100644 --- a/book/en/book.toml +++ b/book/en/book.toml @@ -4,6 +4,10 @@ multilingual = false src = "src" title = "Real-Time Interrupt-driven Concurrency" +[preprocessor.mermaid] +command = "mdbook-mermaid" + [output.html] git-repository-url = "https://github.com/rtic-rs/cortex-m-rtic" git-repository-icon = "fa-github" +additional-js = ["mermaid.min.js", "mermaid-init.js"]