-
Notifications
You must be signed in to change notification settings - Fork 0
/
vivliostyle.config.js
38 lines (38 loc) · 1.8 KB
/
vivliostyle.config.js
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
module.exports = {
title: 'FLOSS プロフェッショナルサービス仕様書', // populated into `publication.json`, default to `title` of the first entry or `name` in `package.json`.
author: '合同会社もなみ屋 <[email protected]>', // default to `author` in `package.json` or undefined.
// language: 'ja', // default to undefined.
// size: 'A4', // paper size.
book: true,
theme: '@vivliostyle/theme-techbook', // .css or local dir or npm package. default to undefined.
toc: true,
entry: [
'spec.md', // `title` is automatically guessed from the file (frontmatter > first heading).
'agreement.md',
{
path: 'colophon.md',
title: '奥付',
},
// {
// path: 'epigraph.md',
// title: 'Epigraph', // title can be overwritten (entry > file),
// theme: '@vivliostyle/theme-whatever', // theme can be set individually. default to the root `theme`.
// },
// 'glossary.html', // html can be passed.
], // `entry` can be `string` or `object` if there's only single markdown file.
// entryContext: './manuscripts', // default to '.' (relative to `vivliostyle.config.js`).
output: [ // path to generate draft file(s). default to '{title}.pdf'
'./support-spec.pdf', // the output format will be inferred from the name.
// {
// path: './book',
// format: 'webpub',
// },
],
// workspaceDir: '.vivliostyle', // directory which is saved intermediate files.
// toc: true, // whether generate and include ToC HTML or not, default to 'false'.
// cover: './cover.png', // cover image. default to undefined.
// vfm: { // options of VFM processor
// hardLineBreaks: true, // converts line breaks of VFM to <br> tags. default to 'false'.
// disableFormatHtml: true, // disables HTML formatting. default to 'false'.
// },
}