forked from loning/mbook-binary
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbook.toml
More file actions
40 lines (35 loc) · 879 Bytes
/
book.toml
File metadata and controls
40 lines (35 loc) · 879 Bytes
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
[book]
authors = ["Auric"]
language = "en"
src = "src"
title = "Binary Universe"
[preprocessor.katex]
after = ["links"]
[preprocessor.mermaid]
command = "mdbook-mermaid"
[output.html]
git-repository-url = "https://github.com/loning/mbook-binary"
mathjax-support = true
no-section-label = true
additional-js = ["mermaid.min.js", "mermaid-init.js"]
additional-head-tags = '''
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-YJD1R6PLTV"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-YJD1R6PLTV');
</script>
'''
[output.html.search]
enable = true
limit-results = 20
teaser-word-count = 30
use-boolean-and = true
boost-title = 2
boost-hierarchy = 1
boost-paragraph = 1
expand = true
heading-split-level = 3
copy-js = true