We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 042885c commit 8941b7aCopy full SHA for 8941b7a
build.js
@@ -39,9 +39,10 @@ content.push({
39
text: 'Kiev, 2015-2022',
40
fontSize: 14,
41
margin: [40, 40, 40, 0],
42
- pageBreak: 'after',
43
});
44
+const pageBreak = (s) => content.push({ text: '', pageBreak: `${s}` });
45
+
46
const caption = (s) => {
47
content.push({
48
text: s,
@@ -91,11 +92,15 @@ const code = (src) => {
91
92
93
};
94
95
+pageBreak('before');
96
97
const abstract = fs.readFileSync('content/Abstract.en.md', 'utf8');
98
const text = abstract.replace('#', '').split('\n');
99
caption(text.shift());
100
para(text.join(' '));
101
102
103
104
const src = fs.readFileSync('content/Index.en.md', 'utf8');
105
const data = src.split('\n');
106
0 commit comments