2024-04-13 14:57:53 -05:00
2020-07-26 10:43:36 +05:30
2020-07-26 10:43:36 +05:30
2020-07-26 11:06:18 +05:30
2020-06-28 14:53:39 +05:30
2024-04-13 14:57:53 -05:00
2024-04-13 14:57:53 -05:00
2020-06-28 22:44:54 +05:30

org-krita

Fork of org-krita originally by lepisma.

Tweaks included:

  • Images are now extracted using the org-krita-extract-filename variable

    • Defaults to "mergedimage.png" (high fidelity)
    • Can be changed to "preview.png" (better performance)
  • All images are scaled according to the variable org-krita-scale (defaults to 1)
  • Editing now opens in krita's full mode by default

Minor mode for working with krita notes, sketches etc. in org mode.

./screen.gif

Quickstart

The package is not on melpa yet. For installing, you can clone the repo and load manually. Or if you are using quelpa-use-package, you can do the following:

  (use-package org-krita
    :ensure t
    :quelpa (org-krita :fetcher github :repo "librephoenix/org-krita" :files ("*.el" "resources"))
    :config
    (add-hook 'org-mode-hook 'org-krita-mode))

Or, if you are using Doom emacs you can add this to your packages.el:

(package! org-krita
  :recipe (:host github
           :repo "librephoenix/org-krita"
           :files ("resources" "resources" "*.el" "*.el")))

and this to your config.el:

(use-package! org-krita
  :config
  (add-hook 'org-mode-hook 'org-krita-mode))

org-krita creates a new org link type called krita that:

  • when clicked on, opens krita for editing the file linked, and
  • shows the updated image preview inline if org-krita-mode is enabled.

For using, you need to enable the minor mode org-krita-mode in org buffer with krita links like this [[krita:./some-file.kra][image]]. To create new files within the buffer itself, try calling org-krita-insert-new-image.

Description
Krita previews and links in org mode
Readme 2.6 MiB
Languages
Emacs Lisp 100%