-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
49 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
^juicydown\.Rproj$ | ||
^juicedown\.Rproj$ | ||
^\.Rproj\.user$ | ||
^LICENSE\.md$ | ||
^_pkgdown\.yml$ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
YEAR: 2023 | ||
COPYRIGHT HOLDER: juicydown authors | ||
COPYRIGHT HOLDER: juicedown authors |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
juicedown_example <- function(path = NULL) { | ||
if (is.null(path)) { | ||
list.files(pkg_file("samples")) | ||
} else { | ||
pkg_file("samples", path) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
.onLoad <- function(libname, pkgname) { | ||
op <- options() | ||
op.juicydown <- list( | ||
juicydown.template = pkg_file("xml", "template.html"), | ||
juicydown.article.css = pkg_file("css", "article.css"), | ||
juicydown.div.css = pkg_file("css", "div.css") | ||
op.juicedown <- list( | ||
juicedown.template = pkg_file("xml", "template.html"), | ||
juicedown.article.css = pkg_file("css", "article.css"), | ||
juicedown.div.css = pkg_file("css", "div.css") | ||
) | ||
toset <- !(names(op.juicydown) %in% names(op)) | ||
if (any(toset)) options(op.juicydown[toset]) | ||
toset <- !(names(op.juicedown) %in% names(op)) | ||
if (any(toset)) options(op.juicedown[toset]) | ||
|
||
invisible() | ||
} | ||
|
||
.onAttach <- function(libname, pkgname) { | ||
# packageStartupMessage("Welcome to juicydown") | ||
# packageStartupMessage("Welcome to juicedown") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
|
||
<!-- README.md is generated from README.Rmd. Please edit that file --> | ||
|
||
# juicydown | ||
# juicedown | ||
|
||
<!-- badges: start --> | ||
|
||
[![R-CMD-check](https://github.com/kenjisato/juicydown/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/kenjisato/juicydown/actions/workflows/R-CMD-check.yaml) | ||
[![R-CMD-check](https://github.com/kenjisato/juicedown/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/kenjisato/juicedown/actions/workflows/R-CMD-check.yaml) | ||
<!-- badges: end --> | ||
|
||
The goal of juicydown is to offer useful tools to minimize routine | ||
The goal of juicedown is to offer useful tools to minimize routine | ||
formatting of page contents on such CMS as Moodle where code editor | ||
silently ignore style and link tags. To generate CSS-inlined HTML, the | ||
package uses \[juicyjuce\] package along with \[knitr\] and \[markdown\] | ||
packages. | ||
|
||
## Installation | ||
|
||
You can install the development version of juicydown from | ||
You can install the development version of juicedown from | ||
[GitHub](https://github.com/) with: | ||
|
||
``` r | ||
# install.packages("remotes") | ||
remotes::install_github("kenjisato/juicydown") | ||
remotes::install_github("kenjisato/juicedown") | ||
``` | ||
|
||
## Example | ||
|
||
This is a basic example which shows you how to solve a common problem: | ||
|
||
``` r | ||
library(juicydown) | ||
library(juicedown) | ||
## basic example code | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
url: https://kenjisato.github.io/juicydown/ | ||
url: https://kenjisato.github.io/juicedown/ | ||
template: | ||
bootstrap: 5 | ||
|
File renamed without changes.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters