From 9989d4640e40517c4652153fe3d57a6cd34f8463 Mon Sep 17 00:00:00 2001 From: JaeYoo-Im Date: Fri, 19 Apr 2024 00:24:29 +0900 Subject: [PATCH] Emacs : add org-drawio package --- .config/emacs/lisp/init-org.el | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.config/emacs/lisp/init-org.el b/.config/emacs/lisp/init-org.el index ed6f1fe..c7465a9 100644 --- a/.config/emacs/lisp/init-org.el +++ b/.config/emacs/lisp/init-org.el @@ -128,7 +128,7 @@ prepended to the element after the #+HEADER: tag." ;; formula a_{i} org-use-sub-superscripts '{} ;; scale org-latex - org-format-latex-options (plist-put org-format-latex-options :scale 2.0) + org-format-latex-options (plist-put org-format-latex-options :scale 1.3) org-image-actual-width nil @@ -255,6 +255,15 @@ prepended to the element after the #+HEADER: tag." org-tree-slide-skip-done nil org-tree-slide-skip-comments t org-tree-slide-skip-outline-level 3)) + ;; support drawio + (use-package org-drawio + :commands (org-drawio-add + org-drawio-open) + :custom ((org-drawio-input-dir "./draws") + (org-drawio-output-dir "./images") + (org-drawio-output-page "0") + ;; set to t, if you want to crop the image. + (org-drawio-crop t))) ; attachment ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (use-package org-contrib ;; to use org-screenshot-take :defer t)