Org-roam Firefox bookmark

Org-roam Firefox bookmark

May 30, 2020

tags
Org-mode Emacs Org-roam

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);

Related link: https://org-roam.readthedocs.io/en/master/roam%5Fprotocol/

comments powered by Disqus