How to specify numbered sections in Pandoc's front matter?
问题 I would like to specify numbered sections via Pandoc's support for YAML front matter. I know that the flag for the command-line usage is --number-sections , but something like --- title: Test number-sections: true --- doesn't produce the desired result. I know that I am close because you can do this with the geometry package (e.g. geometry: margin=2cm ). I wish there was a definitive guide on how Pandoc YAML front matter handling. For example, the following is very useful (avoids templates),