-
Notifications
You must be signed in to change notification settings - Fork 0
/
vivliostyle.config.js
21 lines (21 loc) · 1.34 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
module.exports = {
title: 'miniature-painting', // populated into `manifest.json`, default to `title` of the first entry or `name` in `package.json`.
author: 'oldgeese <[email protected]>', // default to `author` in `package.json` or undefined.
language: 'ja', // default to `en`.
size: 'A4', // paper size.
// theme: '@vivliostyle/theme-bunko', // .css or local dir or npm package. default to undefined.
theme: 'vivliostyle-theme-dnd-5e-phb', // .css or local dir or npm package. default to undefined.
// entryContext: './manuscripts', // default to '.' (relative to `vivliostyle.config.js`).
entry: [
'miniature-painting.md', // `title` is automatically guessed from the file (frontmatter > first heading).
// {
// path: 'epigraph.md',
// title: 'Epigraph', // title can be overwritten (entry > file),
// theme: '@vivliostyle/theme-whatever', // theme can be set indivisually. default to the root `theme`.
// },
// 'glossary.html', // html can be passed.
], // `entry` can be `string` or `object` if there's only single markdown file.
// toc: true, // whether generate and include toc.html or not (does not affect manifest.json), default to `true`. if `string` given, use it as a custom toc.html.
// cover: './cover.png', // cover image. default to undefined.
// workDir: './dist', // default to `.vivliostyle`.
}