YAML frontmatter for R Markdown to cause rmarkdown::render() to retain intermediate Markdown file for .R and .Rmd files, respectively
#' --- | |
#' title: "Something fascinating" | |
#' author: "Jenny Bryan" | |
#' date: "`r format(Sys.Date())`" | |
#' output: github_document | |
#' --- |
#' --- | |
#' title: "Something fascinating" | |
#' author: "Jenny Bryan" | |
#' date: "`r format(Sys.Date())`" | |
#' output: | |
#' html_document: | |
#' keep_md: TRUE | |
#' --- |
--- | |
title: "Something fascinating" | |
author: "Jenny Bryan" | |
date: "`r format(Sys.Date())`" | |
output: github_document | |
--- |
--- | |
title: "Something fascinating" | |
author: "Jenny Bryan" | |
date: "`r format(Sys.Date())`" | |
output: | |
html_document: | |
keep_md: TRUE | |
--- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment