Book: Enable mermaid for mdbook

This commit is contained in:
Henrik Tjäder 2023-01-30 22:18:36 +01:00
parent 69a7c69bf3
commit 9369950709

View file

@ -4,6 +4,10 @@ multilingual = false
src = "src" src = "src"
title = "Real-Time Interrupt-driven Concurrency" title = "Real-Time Interrupt-driven Concurrency"
[preprocessor.mermaid]
command = "mdbook-mermaid"
[output.html] [output.html]
git-repository-url = "https://github.com/rtic-rs/cortex-m-rtic" git-repository-url = "https://github.com/rtic-rs/cortex-m-rtic"
git-repository-icon = "fa-github" git-repository-icon = "fa-github"
additional-js = ["mermaid.min.js", "mermaid-init.js"]