rmarkdown-formats.Rmd: Typo corrected (#557)

This commit is contained in:
Saghir 2017-05-03 13:45:00 +01:00 committed by Hadley Wickham
parent 881a900303
commit ff7fa15f35
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ knitr::include_graphics("screenshots/rmarkdown-knit.png")
## Output options
Each output format is associated with an R function. You can either write `foo` or `pkg::foo`. If you omit, `pkg` the default is assumed to be rmarkdown. It's important to know the name of the function that makes the output because that's where you get help. For example, to figure out what parameters you can set with `html_document`, look at `?rmarkdown:html_document()`
Each output format is associated with an R function. You can either write `foo` or `pkg::foo`. If you omit, `pkg` the default is assumed to be rmarkdown. It's important to know the name of the function that makes the output because that's where you get help. For example, to figure out what parameters you can set with `html_document`, look at `?rmarkdown::html_document`
To override the default parameter values, you need to use an expanded `output` field. For example, if you wanted to render an `html_document` with a floating table of contents, you'd use: