[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Base64 embedded images?

From: Ken Williams
Subject: [O] Base64 embedded images?
Date: Sat, 27 Oct 2012 15:15:59 -0500

Has anyone ever tried embedding images directly in the HTML when exporting an org-mode file, similar to what the “SingleFile” Chrome extension does (https://github.com/gildas-lormeau/SingleFile)?  This would be extremely handy, allowing me to periodically archive the page in Git, including changes to images.  It also makes sharing a document dead-simple.


I’ve seen a few similar things, e.g.:




But what I’m hoping for is to create the image in the usual way, with a [[file:foo.png]] tag (usually this is the result of plotting something in R), and the Base64 encoding happens to all images during *export*.   The above approaches create the Base64-encoded <img> tag right in the org-mode buffer, which limits the other types of exports one can do (e.g. normal HTML, LaTeX, etc.).



Ken Williams, Senior Research Scientist




CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution of any kind is strictly prohibited. If you are not the intended recipient, please contact the sender via reply e-mail and destroy all copies of the original message. Thank you.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]