diff --git a/rmarkdown-formats.Rmd b/rmarkdown-formats.Rmd index 4c085ea..03cba21 100644 --- a/rmarkdown-formats.Rmd +++ b/rmarkdown-formats.Rmd @@ -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: