The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

juicedown

R-CMD-check

The goal of juicedown is to offer useful tools to minimize routine formatting of page contents on such CMS/LMS 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

Sometime soon (hopefully!), you can install it from CRAN like so:

install.packages("juicedown")

For the time being, you can install the development version of juicedown from GitHub with:

# install.packages("remotes")
remotes::install_github("kenjisato/juicedown")

Example

library(juicedown)

Main function is convert(). (Usually, you do not need dir argument)

convert(juicedown_example("markdown", "sample.md"), dir = ".", clip = FALSE)

# See the result
# browseURL("sample.html")

List sample file directories with

juicedown_example()
#> [1] "from-html"  "include"    "javascript" "markdown"   "yaml-meta"

List contents in the sample with

juicedown_example("javascript")
#> [1] "economics.xlsx" "sample.html"    "sample.Rmd"

How to see the source:

file.show(juicedown_example("javascript", "sample.Rmd"))

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.