knitr::opts_knit$set(base.url = file.path(normalizePath("./../inst/rmd"), "/")) res <- knitr::knit_child('./../inst/rmd/tutorial.rmd', quiet = TRUE) cat(res, sep = '\n')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.