Using one markup language for all types of documents – rmarkdown