114 lines
2.9 KiB
JSON
114 lines
2.9 KiB
JSON
{
|
|
"metadata": {
|
|
"title": "Night Arrows",
|
|
"author": "D. Moonfire",
|
|
"language": "en",
|
|
"theme": "@fedran/writing-theme",
|
|
"outputDirectory": ".",
|
|
"outputFilename": "dmoonfire-{{edition.fedran.source.identifier_slug}}-{{edition.version}}.{{edition.ext}}",
|
|
"markdown": {
|
|
"extensions": [
|
|
{
|
|
"package": "markdown-it-multimd-table",
|
|
"options": {
|
|
"headerless": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"style": {
|
|
"css": "td { width: 6em; } td[colspan=\"2\"] { width: 12em; }"
|
|
}
|
|
},
|
|
"includes": [
|
|
{
|
|
"json": "./fedran.json",
|
|
"merge": "metadata.fedran"
|
|
}
|
|
],
|
|
"editions": {
|
|
"epub": {
|
|
"format": "@mfgames-writing/epub2-format",
|
|
"ext": "epub"
|
|
},
|
|
"pdf": {
|
|
"format": "@mfgames-writing/weasyprint-format",
|
|
"isbn": "",
|
|
"images": {
|
|
"grayscale": true,
|
|
"opaque": true
|
|
},
|
|
"ext": "pdf"
|
|
},
|
|
"docx": {
|
|
"format": "@mfgames-writing/docx-format",
|
|
"ext": "docx"
|
|
}
|
|
},
|
|
"contents": [
|
|
{
|
|
"element": "bastard",
|
|
"source": "matter/title.html",
|
|
"linear": false,
|
|
"exclude": {
|
|
"editions": ["epub", "html"],
|
|
"toc": true
|
|
}
|
|
},
|
|
{
|
|
"element": "title",
|
|
"source": "matter/title.html",
|
|
"linear": false,
|
|
"exclude": {
|
|
"toc": true
|
|
}
|
|
},
|
|
{
|
|
"element": "legal",
|
|
"source": "matter/legal.md",
|
|
"liquid": true,
|
|
"linear": false
|
|
},
|
|
{
|
|
"element": "toc",
|
|
"linear": false,
|
|
"title": "Contents",
|
|
"exclude": {
|
|
"editions": ["pdf"]
|
|
}
|
|
},
|
|
{
|
|
"element": "chapter",
|
|
"number": 1,
|
|
"directory": "chapters",
|
|
"source": "/^chapter-\\d+.(markdown|md)$/",
|
|
"start": true,
|
|
"page": 1,
|
|
"pipeline": [
|
|
{
|
|
"module": "@mfgames-writing/guillemet"
|
|
},
|
|
{
|
|
"module": "@fedran/writing-hyphen"
|
|
},
|
|
{
|
|
"module": "@mfgames-writing/hyphen-pipeline",
|
|
"exclude": ["`.*?`", "<code>.*?</code>"]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"element": "appendix",
|
|
"source": "matter/about.md"
|
|
},
|
|
{
|
|
"element": "appendix",
|
|
"source": "matter/fedran.md"
|
|
},
|
|
{
|
|
"element": "appendix",
|
|
"id": "license",
|
|
"source": "matter/license.md"
|
|
}
|
|
]
|
|
}
|