| @@ -1,2 +1,2 @@ | |||
| ^bulmaRmd\.Rproj$ | |||
| ^bulma\.Rproj$ | |||
| ^\.Rproj\.user$ | |||
| @@ -1,4 +1,4 @@ | |||
| Package: bulmaRmd | |||
| Package: bulma | |||
| Title: What the Package Does (One Line, Title Case) | |||
| Version: 0.0.0.9000 | |||
| Authors@R: | |||
| @@ -4,7 +4,7 @@ | |||
| #' @export | |||
| bulma_document <- function(..., css = NULL, pandoc_args = NULL) { | |||
| css_files <- c( | |||
| "--css", system.file("bulma", "bulma.0.7.2.min.css", package="bulmaRmd")) | |||
| "--css", system.file("bulma", "bulma.0.7.2.min.css", package="bulma")) | |||
| if (!is.null(css)) { | |||
| for (file in css) { | |||
| @@ -16,7 +16,7 @@ bulma_document <- function(..., css = NULL, pandoc_args = NULL) { | |||
| css_files, | |||
| pandoc_args, | |||
| "--template", | |||
| system.file("bulma", "bulma.html", package="bulmaRmd") | |||
| system.file("bulma", "bulma.html", package="bulma") | |||
| ), | |||
| ... | |||
| ) | |||
| @@ -20,7 +20,7 @@ header-links: | |||
| url: https://gerkelab.com | |||
| bulma: | |||
| hero: ["info", "bold"] | |||
| output: bulmaRmd::bulma_document | |||
| output: bulma::bulma_document | |||
| --- | |||
| ```{r setup, include=FALSE} | |||
| @@ -21,7 +21,7 @@ header-links: | |||
| # bulma: | |||
| # hero: ["dark", "bold"] | |||
| output: | |||
| bulmaRmd::bulma_document: default | |||
| bulma::bulma_document: default | |||
| # css: custom.css | |||
| html_document_base: | |||
| pandoc_args: ["--template", "/Users/4468739/work/bulmaRmd/inst/bulma/bulma-min.html" ] | |||