use markdown version of roxygen docs
diff --git a/R/posterdown_html.R b/R/posterdown_html.R
index 477c95d..9089483 100644
--- a/R/posterdown_html.R
+++ b/R/posterdown_html.R
@@ -1,9 +1,11 @@
+
#' Posterdown HTML format (using bookdown::html_document2)
+#'
#' @inheritParams pagedown::poster_relaxed
-#' @param ... Additional arguments to \code{rmarkdown::html_document}
+#' @param ... Additional arguments to `rmarkdown::html_document`
#'
#' @return R Markdown output format to pass to
-#' \code{\link[rmarkdown:render]{render}}
+#' [rmarkdown:render::render()]
#'
#' @examples
#'
@@ -17,7 +19,8 @@
css = NULL) {
pagedown::poster_relaxed(..., css = css, template = template)
}
-#' @description The output format \code{poster_betterland()} mimics the style of the
+
+#' @description The output format `poster_betterland()` mimics the style of the
#' \dQuote{BetterPoster} movement from twitter.
#' @rdname posterdown_html
#' @export
@@ -26,3 +29,13 @@
css = NULL) {
pagedown::poster_relaxed(..., css = css, template = template)
}
+
+#' @description The output format `poster_betterport()` mimics the style of the
+#' \dQuote{BetterPoster} movement from twitter.
+#' @rdname posterdown_html
+#' @export
+posterdown_betterport <- function(...,
+ template = find_resource("posterdown_betterport", "template.html"),
+ css = NULL) {
+ pagedown::poster_relaxed(..., css = css, template = template)
+}