Description Usage Arguments Value
servr_patch
goes through all the html files in path
and replaces all instances of 'src="figure' with 'src="/figure'. This is
a very kludgey way to fix a small bug in servr.
1 | servr_patch(path = "_site/")
|
path |
the path in which to do the patching. Defaults to '_site' |
TRUE, if it completes successfully
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.