opts_knit$set(base.dir='./', fig.path='', out.format='md') opts_chunk$set(prompt=TRUE, comment='', results='markup') # See yihui.name/knitr/options for more Knitr options. ##### Put other setup R code here
The openGitbook
is a convenience function that will open the built Gitbook in the system's default web browser. The only parameter for this function is the directory where the Gitbook was generated, which defaults to the _book
subdirectory of the current working directory.
openGitbook()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.