journelly: roam refs before title

This commit is contained in:
Willem van den Ende
2026-02-08 21:04:04 +00:00
parent f6d8accfe4
commit 9c84faa6aa
2 changed files with 9 additions and 2 deletions
@@ -53,10 +53,10 @@ Opens the capture buffer for review before finalizing."
:templates `(("d" "default" plain
,initial-content
:target (file+head "%<%Y%m%d%H%M%S>-${slug}.org"
,(concat "#+title: ${title}\n"
,(concat "\n"
(when url (concat "#+roam_refs: " url "\n"))
(when heading (concat "#+journelly_heading: " heading "\n"))
"\n"))
"\n#+title: ${title}\n" ))
:unnarrowed t))))))
(ert-deftest test-journelly-parse-basic ()
(let* ((entry " * [2025-10-08 Wed 22:39] @ -