Setup:
- Create a browser bookmark (e.g. in bookmarks bar) where the URL is the text in
bookmarklet
below (open this "raw" link so it's not truncated). Yes it's huge, that's fine. You can name the bookmark "Roam Link" or whatever you like.- Alternately, go to this page for easier drag-and-drop bookmarklet setup (GitHub doesn't allow javascript links in gists, sorry)
- Go to or create a Roam page called
roam/css
, and create a CSS code block (```
for code block, then change the language selector dropdown to CSS) and paste the CSS below.
Usage:
- On the page you want to create a link embed of, hit the bookmarklet (optional: highlight some text first and it'll be included as a quote)
- Go to Roam and paste