blob: 4ed2b109364faf222b84005a783258871521d258 [file] [log] [blame]
brentthorne275dbbe2019-02-05 13:31:30 -05001#' Posterdown HTML format (using bookdown::html_document2)
2#'
3#' @inheritParams pagedown::poster_relaxed
4#' @param ... Additional arguments to \code{rmarkdown::html_document}
5#'
6#' @return R Markdown output format to pass to
7#' \code{\link[rmarkdown:render]{render}}
8#'
9#' @examples
10#'
11#' \dontrun{
12#' library(rmarkdown)
13#' draft("MyArticle.Rmd", template = "posterdown_html", package = "posterdown")
14#' }
15#' @export
16posterdown_html <- function(...,
17 template = find_resource("posterdown_html", "template.html"),
18 css = NULL) {
19 pagedown::poster_relaxed(..., css = css, template = template)
20}