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