You could prefix the unused yaml key with _ to avoid having it influence. I have a markdown file that i want to compile to latex. If not, please let me know, and i will delete.
The Vivienne's Devastated Family Speaks Out Father & Stepmom Reveal
Pandoc does not preserve the textual representation in the yaml block, keeping comments is not possible.
If you're not familiar with pandoc, you can provide a bunch of document information, invocation arguments, etc.
In this guide, we’ll demystify pandoc’s yaml header options. With recent versions of pandoc, you can even define. If you would like some inspiration, you could check. The template can have variables (such as $title$ and, more importantly, $body$) and conditionals.
Pandoc uses tex as an intermediary step when generating pdf, so i thought asking this question on the tex part of stackexchange may be the right place. Pandoc templates may contain variables. Almost everything set in the yaml metadata has only an effect through the pandoc template in use. There are a few ways to do what you are trying to do.
I want to put \usepackage {tikz} in the header.
The syntax has to be valid yaml (therefore we need the | or potentially quotes around some values), and pandoc interprets the values as markdown (therefore we sometimes might have.