-
Notifications
You must be signed in to change notification settings - Fork 3
/
book.toml
63 lines (49 loc) · 1.58 KB
/
book.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[book]
authors = ["qiwihui"]
language = "cn"
multilingual = false
src = "src"
title = "Qiwihui's blog"
description = "blog, Crypto, 区块链"
[build]
# extra-watch-dirs = ["po"]
# [preprocessor.translation] // now we have md-booki18n
# [preprocessor.pagetoc] // poor adaptability
[preprocessor]
[preprocessor.katex]
after = ["links"]
macros = "macros.txt" # ref from https://github.com/Trapdoor-Tech/Halo2-Book/blob/master/book/macros.txt
[preprocessor.toc]
command = "mdbook-toc"
renderer = ["html"]
marker = "[TOC]"
max-level = 4
[preprocessor.admonish]
command = "mdbook-admonish"
assets_version = "3.0.0" # do not edit: managed by `mdbook-admonish install`
after = ["gettext"]
[preprocessor.open-on-gh]
command = "mdbook-open-on-gh"
renderer = ["html"]
[preprocessor.gettext]
after = ["links"]
[preprocessor.mermaid]
command = "mdbook-mermaid"
# [preprocessor.git-atom]
# base_url = "https://qiwihui.com/"
# article_preview_lines = -1
[output.html]
mathjax-support = true
no-section-label = true
theme = "theme"
additional-js = ["theme/mermaid.min.js", "theme/mermaid-init.js"]
additional-css = ["./mdbook-admonish.css", "theme/css/mdbook-admonish.css", "theme/css/open-in.css"]
git-repository-url = "https://github.com/qiwihui/blog"
open-on-text = "Found a bug?! [Edit this page on GitHub.]"
edit-url-template = "https://github.com/qiwihui/blog/edit/master/{path}"
curly-quotes = true # replaces straight quotes with curly quotes
[output.html.fold]
enable = true # whether or not to enable section folding
level = 0 # the depth to start folding
[output.html.search]
enable = true