if (FALSE) {
library(rmarkdown)
# convert markdown to various formats
pandoc_convert("input.md", to = "html")
pandoc_convert("input.md", to = "latex")
# process citations
pandoc_convert("input.md", to = "html", citeproc = TRUE)
# add some pandoc options
pandoc_convert("input.md", to = "latex", options = c("--listings"))
}
Run the code above in your browser using DataLab