Fix warning when using `--pdf` and `--html`
Fix warning when using --pdf
and --html
Use of --pdf
and --html
options always gives this:
[WARNING] This document format requires a nonempty <title> element.
Please specify either 'title' or 'pagetitle' in the metadata,
e.g. by using --metadata pagetitle="..." on the command line.
Falling back to 'md'
[WARNING] This document format requires a nonempty <title> element.
Please specify either 'title' or 'pagetitle' in the metadata,
e.g. by using --metadata pagetitle="..." on the command line.
Falling back to 'pdf'
This fixes this issue, no more warnings like that.