The Function replaces and shortes <img> paths in the html code. It seems to be operating on the line level, so it needs to be called before the html-code is collapsed. It would be really nice, if I could call it after. Maybe I can, would there be a problem? @keywords internal
1 | shorten_imagelinks(html_source, rmd_sourcefile)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.