Translate a xaringan slide into a bookdown chapter
slide2note(infile, outdir = "notes", outfile = basename(infile))
infile | Relative path name to the slide RMarkdown fille |
---|---|
outdir | Relative path where bookdown chapter will reside |
outfile | (default = `basename(infile)`) name of output file (without full path) |
A RMarkdown file formatted as a bookdown chapter
# slide2note('slides/ggplot.Rmd')