Commit Graph
6 Commits
Author SHA1 Message Date
Willem van den Ende 6c2a08bee5 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
2026-06-28 13:23:59 +02:00
Willem van den Ende 763350f5bd Add qwan/paste-stripped-url
qwen 0.6 had the good sense to go untiil end of the line with the regexp,
but called the wrong regexp function - or called it wrongly. elisp
'helpfully' gave End of File error.

qwen MoE 30 got the correct function, but put in a regexp that only
removed the ?. So I added `.*$` by hand, and it passed manual testing.

Since I will be using this a lot, no unit-ish test needed. (test
everything that can possibly break). Tested on mac, should work on
linux (according to MoE30)
2025-05-20 14:21:47 +01:00
Willem van den Ende 125c93085b qwan-blog: save buffer before moving the file under it 2025-05-05 09:30:59 +01:00
Willem van den Ende 4a8617d6c7 REfactor qwan functions from config.el, esp. for blogging 2025-05-04 18:32:34 +01:00
Willem van den Ende 8bb1bbf233 Publish draft moved 2025-05-04 18:28:03 +01:00
Willem van den Ende b350812edb Move copy path (to wrong file) 2025-05-04 18:18:45 +01:00