[book]
authors = ["DarkFi"]
language = "en"
src = "src"
title = "The DarkFi Book"
description = "DarkFi mdbook"
text-direction = "ltr"

[output.html]
default-theme = "ayu"
preferred-dark-theme = "ayu"
theme = "theme"
additional-js = ["theme/mermaid.min.js", "theme/mermaid-init.js", "theme/zkas-highlight.js"]

[output.html.playground]
runnable = false

[preprocessor.katex]
macros = "latex-macros.txt"
after = ["links"]

[preprocessor.toc]
command = "mdbook-toc"
renderer = ["html"]

[preprocessor.mermaid]
command = "mdbook-mermaid"
