Description Usage Arguments Value Author(s) References Examples
This function takes an image file and uses the markdown package to
encode it as a base64 string, which can be used in the img
tag in
HTML.
1 | image_uri(f)
|
f |
Path to the image file. |
The data URI as a character string.
Wush Wu and Yihui Xie
http://en.wikipedia.org/wiki/Data_URI_scheme
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.