Moving to HTML/CSS :smile:
diff --git a/R/posterdown.R b/R/posterdown.R
index ea111c6..2128629 100644
--- a/R/posterdown.R
+++ b/R/posterdown.R
@@ -5,7 +5,10 @@
#' @author Brent Thorne
#'
#' @section poster_pdf:
-#' Creates an R Markdown template fo a PDF poster document
+#' Creates an R Markdown template for a PDF poster document via LaTeX
+#' @section poster_html:
+#' Creates an R Markdown template for a PDF poster document via HTML
+#'
#' @docType package
#' @name posterdown
#' @import rmarkdown
diff --git a/R/posterdown_html.R b/R/posterdown_html.R
new file mode 100644
index 0000000..4ed2b10
--- /dev/null
+++ b/R/posterdown_html.R
@@ -0,0 +1,20 @@
+#' Posterdown HTML format (using bookdown::html_document2)
+#'
+#' @inheritParams pagedown::poster_relaxed
+#' @param ... Additional arguments to \code{rmarkdown::html_document}
+#'
+#' @return R Markdown output format to pass to
+#' \code{\link[rmarkdown:render]{render}}
+#'
+#' @examples
+#'
+#' \dontrun{
+#' library(rmarkdown)
+#' draft("MyArticle.Rmd", template = "posterdown_html", package = "posterdown")
+#' }
+#' @export
+posterdown_html <- function(...,
+ template = find_resource("posterdown_html", "template.html"),
+ css = NULL) {
+ pagedown::poster_relaxed(..., css = css, template = template)
+}
diff --git a/R/posterdown_pdf.R b/R/posterdown_pdf.R
index 7890f49..a0965c9 100644
--- a/R/posterdown_pdf.R
+++ b/R/posterdown_pdf.R
@@ -12,8 +12,9 @@
#' library(rmarkdown)
#' draft("MyArticle.Rmd", template = "posterdown_pdf", package = "posterdown")
#' }
-#' @return
#' @export
+
+# This is borrowed from the thesisdown package github.com/ismayc/thesisdown
posterdown_pdf <- function(..., keep_tex = TRUE) {
inherit_pdf_document(...,
keep_tex = keep_tex,
diff --git a/R/utils.R b/R/utils.R
index fdf4d97..78b2761 100644
--- a/R/utils.R
+++ b/R/utils.R
@@ -1,3 +1,4 @@
+# Most here is from thesisdown for the posterdown_pdf option
find_file <- function(template, file) {
template <- system.file("rmarkdown", "templates", template, file,
package = "posterdown")