i have an assignment where students need to download an R markdown file as a template. The file has an .Rmd file ending. Upon downloading from moodle, the server sends it as the_file.Rmd.txt, i.e. it appends a .txt. This is really annoying because students have to first edit the file ending manually, causing lots of trouble, when they really should just double click the file and it should open in Rstudio.
any ideas of how to avoid this?