1.2 Installation in {{roam/js}}

You can install the extension by adding a single {{[[roam/js]]}} block to your graph :

// To install the extension, simply add the code below :
var s = document.createElement("script");
s.src = "https://cdn.jsdelivr.net/npm/@alixlahuec/zotero-roam@0.5";
s.id = "zotero-roam";
s.type = "text/javascript";
document.getElementsByTagName("body")[0].appendChild(s);

Next, you'll need to specify a few settings to get the extension running ; that's where your API key and user ID (from Step 1.1) will come into play !

Last updated