瀏覽代碼

rename: bulma

master
Garrick Aden-Buie 7 年之前
父節點
當前提交
d8f0197f04
共有 6 個檔案被更改,包括 6 行新增6 行删除
  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 查看文件

@@ -1,2 +1,2 @@
^bulmaRmd\.Rproj$
^bulma\.Rproj$
^\.Rproj\.user$

+ 1
- 1
DESCRIPTION 查看文件

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

+ 2
- 2
R/bulma_document.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")
),
...
)

bulmaRmd.Rproj → bulma.Rproj 查看文件


+ 1
- 1
inst/rmarkdown/templates/bulma_document/skeleton.Rmd 查看文件

@@ -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}

+ 1
- 1
tests/manual/bulma-test.Rmd 查看文件

@@ -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" ]

Loading…
取消
儲存