feat: add markdown drag-and-drop for blog images
- Fix org DND flag: +download-dnd → +dragndrop (was silently no-op) - New qwan-markdown-dnd.el: handles file drops in markdown buffers copies images to configurable attachment dir (default: attachments/) inserts markdown image links at point per-repo config via .dir-locals.el (qwan-markdown-attachment-dir) - AGENTS.md: document the new module and DND setup
This commit is contained in:
@@ -318,6 +318,7 @@
|
||||
(add-load-path! "~/.doom.d/qwan")
|
||||
(require 'qwan-blog)
|
||||
(require 'qwan-refactor)
|
||||
(require 'qwan-markdown-dnd)
|
||||
|
||||
;; Elfeed RSS configuration
|
||||
;; Feeds are defined in org-directory (same as org-roam-directory)
|
||||
@@ -389,6 +390,12 @@
|
||||
(setq gptel-default-mode 'org-mode) ;; LLM replies in org-mode format
|
||||
(require 'gptel-integrations)) ;; <- for mcp
|
||||
|
||||
;; emacs mode for pi
|
||||
(use-package! pi-coding-agent
|
||||
:commands pi
|
||||
:init (defalias 'pi 'pi-coding-agent)
|
||||
:custom pi-coding-agent-executable '("devcontainer" "exec" "pi"))
|
||||
|
||||
;; Load machine-specific configuration (gptel backends, etc.)
|
||||
(load! "config-mac.el" doom-user-dir t)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user