rmarkdown
rmarkdown copied to clipboard
header-includes in YAML field does not work for HTML format
this will serve as documentation as I forgot it was not working
This is related to Pandoc overwriting the variable is --include-in-header
flag is used.
- https://github.com/jgm/pandoc/issues/3139
This was encountered in PDF and BEAMER previously
- https://github.com/rstudio/rmarkdown/issues/2294
- https://github.com/rstudio/rmarkdown/issues/1359
But we have not yet done anything with HTML. It seems it is not that common and anyway using includes
in the format function is preferred.