回答編集履歴
2
実行環境の情報および実行例を追記
answer
CHANGED
|
@@ -4,4 +4,64 @@
|
|
|
4
4
|
|
|
5
5
|
{\{ hoge \}}
|
|
6
6
|
|
|
7
|
-
```
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
以下、試した環境と実行例です。
|
|
10
|
+
やりたいって事あってますかね?
|
|
11
|
+
|
|
12
|
+
```console
|
|
13
|
+
$ uname -a
|
|
14
|
+
Linux localhost.localdomain 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
|
|
15
|
+
|
|
16
|
+
$ cat /etc/redhat-release
|
|
17
|
+
CentOS Linux release 7.8.2003 (Core)
|
|
18
|
+
|
|
19
|
+
$ npm -v
|
|
20
|
+
3.10.10
|
|
21
|
+
|
|
22
|
+
$ node -v
|
|
23
|
+
v6.17.1
|
|
24
|
+
|
|
25
|
+
$ gitbook --version
|
|
26
|
+
CLI version: 2.3.2
|
|
27
|
+
GitBook version: 3.2.3
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
$ gitbook init
|
|
31
|
+
$ cat README.md
|
|
32
|
+
# Introduction
|
|
33
|
+
|
|
34
|
+
{\{ hoge \}}
|
|
35
|
+
$ gitbook build
|
|
36
|
+
info: 7 plugins are installed
|
|
37
|
+
info: 6 explicitly listed
|
|
38
|
+
info: loading plugin "highlight"... OK
|
|
39
|
+
info: loading plugin "search"... OK
|
|
40
|
+
info: loading plugin "lunr"... OK
|
|
41
|
+
info: loading plugin "sharing"... OK
|
|
42
|
+
info: loading plugin "fontsettings"... OK
|
|
43
|
+
info: loading plugin "theme-default"... OK
|
|
44
|
+
info: found 1 pages
|
|
45
|
+
info: found 0 asset files
|
|
46
|
+
info: >> generation finished with success in 0.8s !
|
|
47
|
+
$ gitbook serve
|
|
48
|
+
Live reload server started on port: 35729
|
|
49
|
+
Press CTRL+C to quit ...
|
|
50
|
+
|
|
51
|
+
info: 7 plugins are installed
|
|
52
|
+
info: loading plugin "livereload"... OK
|
|
53
|
+
info: loading plugin "highlight"... OK
|
|
54
|
+
info: loading plugin "search"... OK
|
|
55
|
+
info: loading plugin "lunr"... OK
|
|
56
|
+
info: loading plugin "sharing"... OK
|
|
57
|
+
info: loading plugin "fontsettings"... OK
|
|
58
|
+
info: loading plugin "theme-default"... OK
|
|
59
|
+
info: found 1 pages
|
|
60
|
+
info: found 0 asset files
|
|
61
|
+
info: >> generation finished with success in 0.8s !
|
|
62
|
+
|
|
63
|
+
Starting server ...
|
|
64
|
+
Serving book on http://localhost:4000
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+

|
1
書式の改善
answer
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
```text
|
|
4
4
|
|
|
5
|
-
{\{hoge\}}
|
|
5
|
+
{\{ hoge \}}
|
|
6
6
|
|
|
7
7
|
```
|