-
Provide a global option
rmarkdown.files.suffix
to configure the suffix of the directory for auxiliary files (thanks, @certara-tzweers, #2550). By default, this suffix is_files
, which can cause HTML output files to be deleted automatically on Microsoft OneDrive or Google Drive. If that is the case for you, you may set a different suffix in your.Rprofile
, e.g.,options(rmarkdown.files.suffix = "_rmdfiles")
. -
Fix a regression in 2.26 regarding image paths post-processing in
html_document_base()
. Now absolute paths to image in the output directory (output_dir
) are correctly made relative to the output directory again.