From d46cbddf80d5f62395203240bed7a54d3dacaed6 Mon Sep 17 00:00:00 2001 From: jao Date: Thu, 28 Mar 2024 21:32:04 +0000 Subject: org: inline images display --- custom/jao-custom-org.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'custom') diff --git a/custom/jao-custom-org.el b/custom/jao-custom-org.el index 7b8d757..3f7ca4b 100644 --- a/custom/jao-custom-org.el +++ b/custom/jao-custom-org.el @@ -5,6 +5,7 @@ (use-package org :ensure t + :demand t :custom ((org-export-backends '(ascii html latex texinfo))) :init (defalias 'jao-open-gnus-frame 'jao-afio-goto-mail) @@ -16,7 +17,6 @@ org-deadline-warning-days 14 org-directory jao-org-dir org-default-notes-file (expand-file-name "inbox.org" org-directory) - org-display-remote-inline-images 'download ;; 'skip 'cache org-ellipsis " .." ;; ↴ org-email-link-description-format "Email %c: %s" org-enforce-todo-dependencies t @@ -49,7 +49,6 @@ org-use-fast-todo-selection t org-use-speed-commands nil ;; t and then ? to see help org-gnus-prefer-web-links nil)) -(require 'org) ;;; Agenda (setq ;; org-agenda-custom-commands @@ -97,7 +96,6 @@ (t . emacs))) ;;; Appearance -;; Show hidden emphasis markers (use-package org-appear :disabled t :ensure t @@ -106,6 +104,7 @@ org-appear-manual-linger t) :hook (org-mode . org-appear-mode)) +;;; Images ;; #+caption: Image caption. ;; #+attr_org: :width 100 ;; [[file:path/to/image.png]] @@ -115,7 +114,9 @@ org-hide-emphasis-markers t org-hide-leading-stars t org-startup-with-inline-images t - org-image-actual-width '(300)) + org-cycle-inline-images-display t + org-display-remote-inline-images 'download ;; 'skip 'cache + org-image-actual-width '(500)) ;;; LaTeX (use-package org-fragtog -- cgit v1.2.3