Commit 956031cac72f

Vincent Demeester <vincent@sbr.pm>
2025-02-17 18:42:45
tools/emacs: enable org-download
1 parent a74e330
Changed files (2)
tools
emacs
users
vincent
tools/emacs/config/config-org.el
@@ -575,5 +575,15 @@ Within those groups, sort by date and priority."
 	   ;; :sitemap-function org-publish-org-sitemap
 	   ))))
 
+(use-package org-download
+  :after (org)
+  :hook ((dired-mode . org-download-enable)
+         (org-mode . org-download-enable))
+  :config
+  (org-download-enable)
+  (setq org-startup-with-inline-images t)
+  (setq org-download-display-inline-images t)
+  (setq org-download-method 'attach))
+
 (provide 'config-org)
 ;;; config-org.el ends here
users/vincent/dev/emacs.nix
@@ -95,6 +95,7 @@ let
     orderless # TODO configure this
     org
     org-contrib
+    org-download
     org-modern
     org-nix-shell
     org-ql