I have a file which embeds an image
I have added iimage mode to the markdown mode hook and even added recenter to it
(add-hook 'markdown-mode-hook 'iimage-mode) (add-hook 'markdown-mode-hook 'iimage-recenter)
However when I open the file the image is not loaded automatically. I have to manually run the
iimage-recenter command inside the buffer before the image is actually loaded. in the buffer. Any suggestions how I can specify to run
iimage-recenter after a particular file is loaded. I am guessing I'll have to edit some hook (maybe after-insert-file-functions?), but not sure which one.