mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
(feat)org-roam-format: add default-value (#1709)
Allow specification of default values in org-roam-format of the form ${key=default_val}.
This commit is contained in:
@ -505,7 +505,7 @@ Uses `org-roam-node-display-template' to format the entry."
|
||||
(let ((fmt (org-roam--process-display-format org-roam-node-display-template)))
|
||||
(org-roam-format
|
||||
(car fmt)
|
||||
(lambda (field)
|
||||
(lambda (field _default-val)
|
||||
(let* ((field (split-string field ":"))
|
||||
(field-name (car field))
|
||||
(field-width (cadr field))
|
||||
|
Reference in New Issue
Block a user