Org-roam Firefox bookmark
Org-roam has roam-protocol, which we can call throughout the system just like Org-mode Firefox bookmarks.
Org-roam
protocol supports specifying the roam template to use.
Template is the template
key for a template in org-roam-capture-ref-templates.
More documentation on the templating system can be found here.
These templates should contain a #+ROAM_KEY: ${ref}
in it.
Roam-ref
protocol
#
Find and creates from with a specific ROAM_KEY
javascript:location.href =
'org-protocol://roam-ref?template=r&ref='
+ encodeURIComponent(location.href)
+ '&title='
+ encodeURIComponent(document.title)