powered by
List example files for the package. Show the path when the exact name is given.
juicedown_example(name = NULL, file = NULL)
character. A list of example files or a path string to each example file.
character. A single string for example name.
character. A single string for the main file.
The package sample files are organized under samples directory like so:
samples/ |-- from-html/ | -- sample.html -- include/ |-- pic/ `-- sample.Rmd
-- sample.html
juicedown_example() is equivalent to ls samples,
juicedown_example()
ls samples
juicedown_example("from-html") is to ls samples/from-html, and
juicedown_example("from-html")
ls samples/from-html
juicedown_example("from-html", "sample.html") shows the full path.
juicedown_example("from-html", "sample.html")
juicedown_example() juicedown_example("from-html") juicedown_example("from-html", "sample.html")
Run the code above in your browser using DataLab