My employer is moving everything over to Office 365, including using OneDrive. The problem is that they are blocking files with the extension .rmd due to it being used by zeta ransomware as the file extension for files that are encrypted and held for ransom. They are absolutely unbending on this so it's up to me to deal with it. One solution that I tried was to simply change the extension on .Rmd files to .Rmds and this seems to get around the file blocking. However, RStudio doesn't like it. I can tell the editor to treat the file as an RMarkdown file and syntax highlight works. However, when I knit the file, it does not execute any of the code chunks. Is there a way to tweak RStudio so that it recognize these files as rmarkdown?