-
Notifications
You must be signed in to change notification settings - Fork 7
/
book.json
58 lines (58 loc) · 1.69 KB
/
book.json
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
{
"plugins": [
"hints",
"@adiwg/styles-sass",
"regexplace",
"code",
"expandable-chapters",
"customize-footer"
],
"styles": {
"website": "styles/website.scss",
"ebook": "styles/ebook.scss",
"pdf": "styles/pdf.scss",
"mobi": "styles/mobi.scss",
"epub": "styles/epub.scss"
},
"pluginsConfig": {
"hints": {
"info": "fa fa-info-circle",
"tip": "fa fa-lightbulb-o",
"danger": "fa fa-exclamation-circle",
"working": "fa fa-wrench"
},
"regexplace": {
"substitutes": [
{
"pattern": "<img (.*)alt=\"([^\"]*)\"(.*) {0,1}\/{0,1}> {0,}{caption([^\\}]*)}",
"flags": "g",
"substitute": "<figure id=\"fig_PAGE_LEVEL_._INDEX_\" class=\"screenshot\"><img $1alt=\"$2\" $4$3><figcaption><span>Image _INDEX_: </span>$2</figcaption></figure>"
},
{
"pattern": "<!-- tasks -->",
"flags": "g",
"substitute": "<div class=\"list-tasks\">"
},
{
"pattern": "<!-- endtasks -->",
"flags": "g",
"substitute": "</div>"
},
{
"pattern": "1({<strong>type</strong>:.*})1",
"flags": "g",
"substitute": "<span class=\"md-type\">$1<br>Usage: </span>"
},
{
"pattern": "2{(.*)}2",
"flags": "g",
"substitute": "<br><span class=\"md-type\">$1 </span>"
}
]
},
"expandable-chapters": {},
"layout": {
"footerPath": "layouts/footer1.html"
}
}
}