Forked from jennybc/yaml_frontmatter_r_github_document.yaml
Last active
June 16, 2019 11:21
-
-
Save davan690/73d3b8b859dc446dfe3f77cc8845e83e to your computer and use it in GitHub Desktop.
YAML frontmatter for R Markdown to cause rmarkdown::render() to retain intermediate Markdown file for .R and .Rmd files, respectively
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
type: post | |
title: "Data Wrangling" | |
subtitle: "For Stoat control in Beech forest paper" | |
author: "Anthony Davidson" | |
date: '2019-05-16' | |
output: rmarkdown::html_vignette | |
vignette: > | |
%\VignetteIndexEntry{Vignette Title} | |
%\VignetteEngine{knitr::rmarkdown} | |
%\VignetteEncoding{UTF-8}: | |
bibliography: Beech-forests.bib | |
editor_options: | |
chunk_output_type: console | |
--- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#html | |
#pretty_html styles | |
#version 1.0.1 | |
--- | |
title: "Population dynamics of Mice in New Zealand Beech Forests" | |
author: "Anthony Davidson, University of Canberra" | |
date: '`r format(Sys.time(), "%d %B, %Y")`' | |
output: | |
prettydoc::html_pretty: | |
theme: cayman | |
highlight: github | |
vignette: > | |
%\VignetteIndexEntry{Vignette Title} | |
%\VignetteEngine{knitr::rmarkdown} | |
%\VignetteEncoding{UTF-8} | |
--- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ------.YMAL compile code------------ | |
# Anthony Davidson | |
# 14012019 | |
# At test of tests | |
#pdf classic .tex style | |
#version 1.0.1 | |
--- | |
title: "Population dynamics of Mice in New Zealand Beech Forests" | |
author: "Anthony Davidson, University of Canberra" | |
date: '`r format(Sys.time(), "%d %B, %Y")`' | |
output: | |
pdf_document: | |
fig_caption: yes | |
keep_tex: yes | |
number_sections: yes | |
html_document: | |
fig_caption: yes | |
force_captions: yes | |
highlight: pygments | |
number_sections: no | |
theme: cerulean | |
--- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: "Something interesting" | |
subtitle: "A subnote" | |
layout: post | |
tags: ["general", "overview", "website"] | |
image: /img/ | |
bigimg: /img/ | |
permlink: | |
--- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#' --- | |
#' title: "Something fascinating" | |
#' author: "Anthony Davidson" | |
#' date: "`r format(Sys.Date())`" | |
#' output: github_document | |
#' --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#' --- | |
#' title: "Something fascinating" | |
#' author: "Anthony Davidson" | |
#' date: "`r format(Sys.Date())`" | |
#' output: | |
#' html_document: | |
#' keep_md: TRUE | |
#' --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: "Something fascinating" | |
author: "Anthony Davidson" | |
date: "`r format(Sys.Date())`" | |
output: github_document | |
--- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: "Something fascinating" | |
author: "Anthony Davidson" | |
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