| brentthorne | 275dbbe | 2019-02-05 13:31:30 -0500 | [diff] [blame] | 1 | #' 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 | 
|  | 16 | posterdown_html <- function(..., | 
|  | 17 | template = find_resource("posterdown_html", "template.html"), | 
|  | 18 | css = NULL) { | 
|  | 19 | pagedown::poster_relaxed(..., css = css, template = template) | 
|  | 20 | } |