The default is to generate LaTeX. It would be nice if the .Rmd files or if the target is .html/.docx the default would automatically be markdown.