We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e91213 commit b5c83ccCopy full SHA for b5c83cc
build.js
@@ -11,7 +11,10 @@ var output = '# ' + book.title + '\n\n';
11
12
var contentArr = summary.match(/\(.*\)/g).map(function (path) {
13
path = path.slice(1).slice(0, -1);
14
- return fs.readFileSync('./' + path).toString();
+ var res = fs.readFileSync('./' + path).toString();
15
+ // pandoc 图片路径修复
16
+ res = res.replace('](/img/', '](./img/');
17
+ return res;
18
});
19
20
output += contentArr.join('\n\n');
chapter/markdown.md
@@ -45,7 +45,7 @@
45
46
下面是一张图片
47
48
-
+
49
50
脚注[^6]脚注脚注
51
gitbook-boilerplate.md
@@ -55,7 +55,7 @@
55
56
57
58
+
59
60
61
0 commit comments