Org 中显示 inline 图片时,图片尺寸可以控制吗?

没人这么用吗?我用着挺好的:

;;if there is a #+ATTR.*: width="200", resize to 200, otherwise resize to 400
(setq org-image-actual-width '(400))

关于org-image-actual-width

(setq org-image-actual-width 300) => always resize inline images to 300 pixels

(setq org-image-actual-width '(400)) => if there is a #+ATTR.*: width=“200”, resize to 200, otherwise resize to 400

(setq org-image-actual-width nil) => if there is a #+ATTR.*: width=“200”, resize to 200, otherwise don’t resize

(setq org-image-actual-width t) => Never resize and use original width (the default)

2 个赞