From b7214c96e7fa103f207ad40897c5ce673631cc15 Mon Sep 17 00:00:00 2001 From: Gregory Grubbs Date: Mon, 25 Nov 2024 15:20:28 -0700 Subject: [PATCH] Reference correct option to use with YAML metadata Add a reference to the --metadata-file option in the section suggesting YAML for EPUB metadata. The --epub-metadata option is mention in this same section, but it is not clear that option is incorrect for this usage. The correct options and their formats can be found in the documentation, but this addition makes it more clear. --- pandoc-cli/man/pandoc.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandoc-cli/man/pandoc.1 b/pandoc-cli/man/pandoc.1 index 3fa285023b16..c19a9672cfcc 100644 --- a/pandoc-cli/man/pandoc.1 +++ b/pandoc-cli/man/pandoc.1 @@ -7135,7 +7135,7 @@ Slide 2 has a special image for its background, even though the heading has no c .SS EPUB Metadata EPUB metadata may be specified using the \f[CR]\-\-epub\-metadata\f[R] option, but if the source document is Markdown, it is better to use a -YAML metadata block. +YAML metadata block in conjuction with the \f[CR]\-\-metadata\-file\f[R] option. Here is an example: .IP .EX