abo-abo/org-download
소개
이미지를 Emacs Org mode로 드래그 앤 드롭
디자인 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- 0
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalorg-download
This extension facilitates moving images from point A to point B.
Point A (the source) can be:
- An image inside your browser that you can drag to Emacs.
- An image on your file system that you can drag to Emacs.
- A local or remote image address in kill-ring.
Use the
org-download-yankcommand for this. Remember that you can use "0 w" indiredto get an address. - A screenshot taken using
gnome-screenshot,scrot,gm,xclip(on Linux),screencapture(on OS X) or ,imagemagick/convert(on Windows). Use theorg-download-screenshotcommand for this. Customize the backend withorg-download-screenshot-method.
Point B (the target) is an Emacs org-mode buffer where the inline
link will be inserted. Several customization options will determine
where exactly on the file system the file will be stored.
They are:
org-download-method:
- 'attach => use
org-modeattachment machinery - 'directory => construct the directory in two stages:
first part of the folder name is:
either "." (current folder)
or
org-download-image-dir(if it's not nil).org-download-image-dirbecomes buffer-local when set, so each file can customize this value, e.g with:-*- mode: Org; org-download-image-dir: "~/Pictures/foo"; -*-To set it for all files at once, use this:
(setq-default org-download-image-dir "~/Pictures/foo")
second part is:
org-download-heading-lvlis nil => ""org-download-heading-lvlis n => the name of current heading with level n.Level count starts with 0, i.e. * is 0, ** is 1, *** is 2 etc.
org-download-heading-lvlbecomes buffer-local when set, so each file can customize this value, e.g with:-*- mode: Org; org-download-heading-lvl: nil; -*-
org-download-timestamp:
optionally add a timestamp to the file name.
Customize org-download-backend to choose between url-retrieve
(the default) or wget or curl.
Set up
(require 'org-download)
;; Drag-and-drop to `dired`
(add-hook 'dired-mode-hook 'org-download-enable)
Pasting from the clipboard
If you have the image stored in the clipboard, use org-download-clipboard.
관련 프로젝트 살펴보기
불러오는 중…