command: allow defining the output type.
command: support multiple output formats

e.g. `:Rmarkdown pdf+html` produces both pdf and html documents.