Skip to content

Instantly share code, notes, and snippets.

@matt-dray
Last active September 19, 2018 13:26
Show Gist options
  • Save matt-dray/501d243f7132547946dd2aaf96781baf to your computer and use it in GitHub Desktop.
Save matt-dray/501d243f7132547946dd2aaf96781baf to your computer and use it in GitHub Desktop.
R Markdown YAML header for current date, nice theme/highlighting/table of contents
---
title: "Title"
subtitle: "Subtitle"
author: "Name"
date: "`r format(Sys.time(), '%d %B, %Y')`"
output:
html_document:
theme: cerulean
highlight: tango
number_sections: yes
toc: yes
toc_depth: 2
toc_float: yes
---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment