org 中 org-display-inline-images 能不能让[[file][description]] 格式的链接内行显示图片
在使用 org-toggle-inline-images
或 org-display-inline-images
时加 C-u
就好了,如 C-u C-c C-x C-v
org-display-inline-images
的文档:
When optional argument INCLUDE-LINKED is non-nil, also links with
a text description part will be inlined. This can be nice for
a quick look at those images, but it does not reflect what
exported files will look like.
这里的C-u是相当于给org-display-inline-images INCLUDE-LINKED 参数加了 nil吗?
如果我想要让这种格式实现org-startup-with-inline-images的效果,有没有内置的函数,或是需要我自己写?
是传 4
,就是非 nil
加个hook 就好了
(add-hook 'org-mode-hook (lambda ()
(when org-startup-with-inline-images
(org-display-inline-images t))))
2 个赞