Skip to content

pjones/org-inline-image-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Automatically Refresh Inline Images

org-inline-image-mode is a minor mode for Emacs that automatically updates inline images in org-mode buffers after certain events occur. For example, after executing an org-babel block.

Install

I’m lazy. So for now, just pull the file from git.

Usage

Instead of using org-toggle-inline-images you can simply toggle this minor mode:

  1. M-x load-library RET org-inline-image-mode RET
  2. M-x org-inline-image-mode RET

Configuration

The current version only triggers an image update after org-babel source blocks are executed. To add another event, add a hook to the org-inline-image-hooks variable:

;; Update images after saving a buffer:
(add-to-list 'org-inline-image-hooks 'after-save-hook)

If you think a hook should be in the default set of hooks that trigger image updates, please open an issue.

About

Update displayed images as an org-mode buffer changes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors