List example files
juicedown_example.Rd
List example files for the package. Show the path when the exact name is given.
Arguments
- name
character. A single string for example name.
- file
character. A single string for the main file.
Details
The package sample files are organized under samples directory like so:
samples/
|-- from-html/
| -- sample.html
-- include/
|-- pic/
`-- sample.Rmd
juicedown_example()
is equivalent tols samples
,juicedown_example("from-html")
is tols samples/from-html
, andjuicedown_example("from-html", "sample.html")
shows the full path.