emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Wow -- adding images to an org file


From: Nathan Neff
Subject: [Orgmode] Wow -- adding images to an org file
Date: Thu, 6 May 2010 21:01:32 -0500

I just saw Andreas's screenshot here:

http://orgmode.org/worg/org-screenshots.php

If you zoom in to his screenshot,
http://orgmode.org/img/screenshots/org_andreas.jpg

You can see how he adds images to his org files.
All that I had to do was put this into my emacs init file:

(defun org-dblock-write:image (params)
  (let ((file (plist-get params :file)))
     (clear-image-cache file)
     (insert-image (create-image file) )))

Then, put this in an org-file:

#+BEGIN: image :file "~/Documents/personal/foo.png"
#+END

And run C-c C-c (or is it C-c C-x C-u)?

Anyway, Cool stuff!

--Nate




reply via email to

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