Closed uliw closed 2 years ago
Yes, org-noter-insert-heading-hook
allows you to call a function every time a note heading is created by org-noter.
Put this in your .emacs file,
(defun my-exclude-heading-from-roam ()
"Add ROAM_EXCLUDE property to a heading at point."
(org-entry-put nil "ROAM_EXCLUDE" "t"))
(add-hook 'org-noter-insert-heading-hook 'my-exclude-heading-from-roam)
Much obliged!
currently, a note will create a properties drawer like this:
when used in conjunction with org-roam, this will automatically create an org-roam node. adding:
will prevent this. However, is there a way to insert this into the property drawer as a default?