组织模式中的嵌入式图像 [英] Inline images in org-mode

查看:80
本文介绍了组织模式中的嵌入式图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在emacs的org文件中插入嵌入式图像。我对emacs和org-mode完全陌生。我在Google中搜索,但找不到即时解决方案。
如果有人知道如何在组织模式emacs的同一缓冲区中显示嵌入式图像,请共享。

I want to insert inline image in my org file in emacs. I am completely new to emacs and org-mode. I searched in google but could not find immediate solution. If anyone knows how to display inline images in the same buffer in org-mode emacs, please share.

推荐答案

如果添加 [[myimage.png]] ,组织模式将使用文件 myimage.png 作为内嵌图像用于myimage.png。然后,您可以运行 Mx org-display-inline-images 以显示您的嵌入式图像。

if you add [[myimage.png]], org mode will use the file myimage.png as an inline image for myimage.png. You can then run M-x org-display-inline-images to display your inline image.

添加

(setq org-startup-with-inline-images t)

到您的 .emacs 将使图像在打开组织缓冲区时内联。 Mx
org-redisplay-inline-images
会在需要时刷新内联图像。

to your .emacs will make image inlined on opening a org buffer. M-x org-redisplay-inline-images will refresh inlined image if needed.

您也可以添加

#+STARTUP: inlineimages

到组织文件中,仅用于内嵌该文件中的图像。

to an org file for inlining images only in this file.

这篇关于组织模式中的嵌入式图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆