Since the use of underscores ('_') is not permitted when streaming
bookdown documents via
GitHub Pages, this wrapper function serves
to remove any unwanted underscores from subfolders and link
documents created by
Output directory as
Arguments passed to
While all remaining arguments passed to
remain untouched, and hence, their specification is freely up to the user,
the default value of 'output_dir' is explicitly set to
"book" here. If
this were not the case (i.e. if the default value were used), the output
document would be created in
"_book" which is not desirable for
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.