shorten_imagelinks: Shorten image-links in html as appropriate for Anki.

Description Usage

View source: R/rmd2tsv.R


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


shorten_imagelinks(html_source, rmd_sourcefile)

henningsway/r2anki documentation built on June 20, 2020, 5:17 a.m.