Disabling base64 image embedding in RMarkdown?

909 views
Skip to first unread message

Keith Hughitt

unread,
Mar 26, 2015, 7:13:38 AM3/26/15
to kn...@googlegroups.com
Hello,

This isn't a strictly knitr question, but this seemed like the best venue for it...

Does anyone know how to disable the base64-encoded image embedding in recent versions of rmarkdown? With the older markdown library it used to be possible to specify a set of options to use for rendering, and one could simply remove the option to base64 encode images.

With the newer rmarkdown library though I have not yet found a similar option.

This would be nice in cases where you have many figures in a document and the resulting HTML becomes very large and slow to render / edit.

Keith

Yihui Xie

unread,
Mar 26, 2015, 11:26:16 AM3/26/15
to Keith Hughitt, knitr
Please see the section "Document Dependencies" for the option
`self_contained`:
http://rmarkdown.rstudio.com/html_document_format.html Also see
?rmarkdown::html_document

Regards,
Yihui
--
Yihui Xie <xiey...@gmail.com>
Web: http://yihui.name
> --
> You received this message because you are subscribed to the Google Groups
> "knitr" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to knitr+un...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Keith Hughitt

unread,
Mar 26, 2015, 3:11:04 PM3/26/15
to kn...@googlegroups.com, keith....@gmail.com
Perfect. Thanks, Yihui!
Reply all
Reply to author
Forward
0 new messages