mirror of
https://github.com/lise-henry/crowbook
synced 2024-05-23 13:16:16 +02:00
52 lines
1.3 KiB
Plaintext
52 lines
1.3 KiB
Plaintext
# Metadata
|
|
author: "Élisabeth Henry"
|
|
title: Crowbook User Guide
|
|
description: >-
|
|
Crowbook allows to render a book written in Markdown in various
|
|
formats. This is some kind of manual for it, and a way to
|
|
demonstrate and test it.
|
|
lang: en
|
|
cover: cover.png
|
|
version: 0.9.0
|
|
date: "23th of september, 2016"
|
|
|
|
# Options for generating files
|
|
output.epub: book.epub
|
|
output.html: book.html
|
|
output.html_dir: html
|
|
output.pdf: book.pdf
|
|
output.odt: book.odt
|
|
output.base_path: output
|
|
|
|
# Resources options
|
|
resources.base_path.images: img/ # where to find the cover
|
|
|
|
# Rendering options
|
|
rendering.num_depth: 2
|
|
rendering.initials: true
|
|
rendering.inline_toc: false
|
|
rendering.chapter_template: | # Actually not a great idea to add a line break in titles but YOLO
|
|
{{{loc_chapter}}} {{{number}}}{{#has_chapter_title}}\
|
|
{{{chapter_title}}}{{/has_chapter_title}}
|
|
|
|
# Html options
|
|
html_single.one_chapter: true
|
|
html.header: "{{{title}}} {{{version}}}"
|
|
html.footer: "Generated by [Crowbook](https://github.com/lise-henry/crowbook) {{{crowbook_version}}}"
|
|
|
|
# Latex options
|
|
tex.class: book
|
|
tex.links_as_footnotes: false
|
|
|
|
# Epub options
|
|
epub.version: 3
|
|
|
|
|
|
# Finally, our files.
|
|
# Paths are relative to the directory where this file is
|
|
+ README.md
|
|
+ book_example/arguments.md
|
|
+ book_example/config.md
|
|
+ book_example/templates.md
|
|
- ChangeLog.md
|
|
- LICENSE.md |