Emacs org-display-inline-images [英] Emacs org-display-inline-images
本文介绍了Emacs org-display-inline-images的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在emacs组织模式下显示内联图像?
我有 [[file:〜/ myimage.png]]
,点击后,打开新的缓冲区中的图像。
但是如何在同一个缓冲区中呢?
注意: C c C x C v 未定义,因此无法激活内联图片,但是如何解决这个问题?
解决方案
这对我有用:
$ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $
(global-set-key(kbdCc Cx C v)
'do-org-show-all-inline-images)
这是我如何找到如何做到:
- Mx apropos RET
org。* image。*
。 - F1 f
org-display-inline-images
。 - 使一个带有图片链接的test.org。
- M - :
(org-display-inline-images tt)
。 - code> defun /
global-set-key
。
How can I display inline images in emacs org mode?
I have [[file:~/myimage.png]]
, which, when clicked, opens the image in a new buffer.
But how to do it in the same buffer?
Note: C c C x C v is undefined, so I couldn't activate the inline images, but how do I solve this problem?
解决方案
This works for me:
(defun do-org-show-all-inline-images ()
(interactive)
(org-display-inline-images t t))
(global-set-key (kbd "C-c C-x C v")
'do-org-show-all-inline-images)
And here's how I found how to do it:
- M-x apropos RET
org.*image.*
. - F1 f
org-display-inline-images
. - make a test.org with a link to picture.
- M-:
(org-display-inline-images t t)
. - wrap it in a
defun
/global-set-key
.
这篇关于Emacs org-display-inline-images的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文