rmarkdown icon indicating copy to clipboard operation
rmarkdown copied to clipboard

header-includes in YAML field does not work for HTML format

Open cderv opened this issue 7 months ago • 0 comments

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.

cderv avatar Nov 07 '23 12:11 cderv