Skip to content

hermanhel/org-krita

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

org-krita

fork of lepisma’s org-krita package

used `:image-data-fun` attribute of org-link-parameter instead of “bypassing org-mode’s image display. This approach is used also by github.com/wdavew/org-excalidraw

This way:

  • krita links’ image display goes with org-inline-image-display
  • in the bypassing version of org-krita you can always see a blue line in the middle of image, which is gone when you have your cursor on it which I think is the underline under link. It is gone now.
  • set width with `#+attr_html: :width 100`

https://img.shields.io/github/v/tag/lepisma/org-krita.svg

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

./screen.gif

Quickstart

The package is not on melpa yet. For installing, I would recommend downloading the release tarballs from here. 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 "hermanhel/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 "hermanhel/org-krita"
           :files ("resources" "resources" "*.el" "*.el")))

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 call org-display-inline-images

To create new files within the buffer itself, try calling org-krita-insert-new-image.

About

Krita sketches in Org

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 100.0%