Only by chance did I see an example document using the toc: true
line in their YAML header options in a Markdown file to be processed by Pandoc. And the Pandoc docs didn't mention this option to control table of contents using the YAML header. Furthermore, I see somewhat arbitrary lines in example documents on the same Pandoc readme site.
Main question:
- What Pandoc options are available using the YAML header?
Meta-question:
- What determines the available Pandoc options that are available to set using the YAML header?
Note: my workflow is to use Markdown files (.md
) and process them through Pandoc to get PDF files. It has hierarchically organized manuscript writing with math. Such as:
pandoc --standalone --smart \
--from=markdown+yaml_metadata_block \
--filter pandoc-citeproc \
my_markdown_file.md \
-o my_pdf_file.pdf
Haskell
then the answer is available at github.com/jgm/pandoc/search?utf8=%E2%9C%93&q=yaml – Photogene