diff options
author | jao <jao@gnu.org> | 2024-03-28 21:32:04 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2024-03-28 21:32:04 +0000 |
commit | d46cbddf80d5f62395203240bed7a54d3dacaed6 (patch) | |
tree | 4ba50219258bef7dcaa371a1f2ba0eb774059128 /custom | |
parent | 6a0ad21ed889cb1544d5974f502c36f971b49336 (diff) | |
download | elibs-d46cbddf80d5f62395203240bed7a54d3dacaed6.tar.gz elibs-d46cbddf80d5f62395203240bed7a54d3dacaed6.tar.bz2 |
org: inline images display
Diffstat (limited to 'custom')
-rw-r--r-- | custom/jao-custom-org.el | 9 |
1 files changed, 5 insertions, 4 deletions
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 |