Explorar el Código

rename: bulma

master
Garrick Aden-Buie hace 7 años
padre
commit
d8f0197f04
Se han modificado 6 ficheros con 6 adiciones y 6 borrados
  1. +1
    -1
      .Rbuildignore
  2. +1
    -1
      DESCRIPTION
  3. +2
    -2
      R/bulma_document.R
  4. +0
    -0
      bulma.Rproj
  5. +1
    -1
      inst/rmarkdown/templates/bulma_document/skeleton.Rmd
  6. +1
    -1
      tests/manual/bulma-test.Rmd

+ 1
- 1
.Rbuildignore Ver fichero

^bulmaRmd\.Rproj$
^bulma\.Rproj$
^\.Rproj\.user$ ^\.Rproj\.user$

+ 1
- 1
DESCRIPTION Ver fichero

Package: bulmaRmd
Package: bulma
Title: What the Package Does (One Line, Title Case) Title: What the Package Does (One Line, Title Case)
Version: 0.0.0.9000 Version: 0.0.0.9000
Authors@R: Authors@R:

+ 2
- 2
R/bulma_document.R Ver fichero

#' @export #' @export
bulma_document <- function(..., css = NULL, pandoc_args = NULL) { bulma_document <- function(..., css = NULL, pandoc_args = NULL) {
css_files <- c( 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)) { if (!is.null(css)) {
for (file in css) { for (file in css) {
css_files, css_files,
pandoc_args, pandoc_args,
"--template", "--template",
system.file("bulma", "bulma.html", package="bulmaRmd")
system.file("bulma", "bulma.html", package="bulma")
), ),
... ...
) )

bulmaRmd.Rproj → bulma.Rproj Ver fichero


+ 1
- 1
inst/rmarkdown/templates/bulma_document/skeleton.Rmd Ver fichero

url: https://gerkelab.com url: https://gerkelab.com
bulma: bulma:
hero: ["info", "bold"] hero: ["info", "bold"]
output: bulmaRmd::bulma_document
output: bulma::bulma_document
--- ---


```{r setup, include=FALSE} ```{r setup, include=FALSE}

+ 1
- 1
tests/manual/bulma-test.Rmd Ver fichero

# bulma: # bulma:
# hero: ["dark", "bold"] # hero: ["dark", "bold"]
output: output:
bulmaRmd::bulma_document: default
bulma::bulma_document: default
# css: custom.css # css: custom.css
html_document_base: html_document_base:
pandoc_args: ["--template", "/Users/4468739/work/bulmaRmd/inst/bulma/bulma-min.html" ] pandoc_args: ["--template", "/Users/4468739/work/bulmaRmd/inst/bulma/bulma-min.html" ]

Cargando…
Cancelar
Guardar