| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/render.R |
| 3 |
\name{rmd_metadata} |
| 4 |
\alias{rmd_metadata} |
| 5 |
\title{R Markdown Metadata} |
| 6 |
\description{ |
| 7 |
Rmd files include a metadata section (typically located at the top of the |
| 8 |
file) that can specify (among other things) the title, author, and date of |
| 9 |
the document. Metadata adheres to the \href{https://yaml.org}{YAML} format |
| 10 |
and is delimited by lines containing three dashes (\code{---}). Here is an |
| 11 |
example metadata section: |
| 12 |
\preformatted{--- |
| 13 |
title: "Crop Analysis Q3 2013" |
| 14 |
author: Martha Smith |
| 15 |
date: October 23rd, 2013 |
| 16 |
--- |
| 17 |
} |
| 18 |
Note that the \code{title} field is quoted. This is because titles often |
| 19 |
contained embedded colons (\code{:}) and colons followed by a space need to |
| 20 |
be quoted in YAML. |
| 21 |
} |
| 22 |
\details{ |
| 23 |
When title, author, and date metadata is provided it's used to |
| 24 |
automatically create a title section within output documents. If you don't |
| 25 |
want this section included in your document then you should remove the |
| 26 |
corresponding metadata fields. |
| 27 |
|
| 28 |
When generating PDF and Beamer output there are also a number of other |
| 29 |
metadata fields that can be included to customize the appearance and theme |
| 30 |
of PDF output. For more details see the documentation for |
| 31 |
\code{\link{pdf_document}} and \code{\link{beamer_presentation}}. |
| 32 |
} |