Git Product home page Git Product logo

org-krita's Introduction

org-krita

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 "lepisma/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 "lepisma/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.

Roadmap

Here are the directions that need work (as far as I can think of right now):

  1. Making the package tool agnostic. This basically means abstracting out the following pieces that are tuned to krita at the moment:
    1. Function for creating new image in the tool’s format.
    2. Function for extracting png from the file for inline display.
    3. Function for running the program to edit an image.
  2. Better inline display. Right now we bypass org’s inline display which means we miss out on basic things like setting width and height for larger images and other goodies.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.