Roam Research Plugins [[roam/js]]

Roam Research lets you run custom JavaScript code. This is a short tutorial to help you set up plugins like Todo Exploder or Troamback.

Enabling custom components

  1. Go to Right-hand three dot ( ••• ) menu
  2. Choose Settings
  3. User
  4. “Enable custom components”

Pasting the custom JavaScript code

After you enabled custom components, you can start running custom JavaScript code in your Roam.

In order to do so, you have to:

  1. Create page [[roam/js]]
  2. On that page, create block {{[[roam/js]]}}
  3. UNDER that block, create a code block ( “`javascript )
  4. Paste your code in that block
  5. Click “Yes I know what I’m doing” in the prompt
  6. Reload your roam (refresh or Option-R on mac, CTRL-R on Win)

This is how it should look like: