Using Roam Highlighter with Logseq
1 year ago • 3 min read
I've recently started playing around with Logseq as my main note-taking app. And I was positively surprised to see how much progress they made in the last year. The app become way more stable and features are almost on par with Roam Research. On top of that, they also introduced things like Youtube Timestamp , PDF Highlights , Plugins. Just to name a few.
As I'm using Logseq now on daily basis, it made sense to see how well my Roam Highlighter for Chrome integrates with the app. And it turned out, that Logseq works great with the Roam Highlighter and that I didn't have to do any changes to the code. (yeahy!) So in this article, I want to give you a quick guide on how to best use the Roam Highlighter, while taking advantage of Logseqs features.
Step 1: Install the Highlighter
Simply follow this link to install the Roam Highlighter from the Chrome Web Store. After the installation, you should be prompted with a short tutorial page where can make yourself familiar with the features of the highlighter.
Step 2: Adjust the template
Open the widget by clicking on the icon in the toolbar. Once the widget is open, progress further to the settings by clicking the small settings icon in the bottom of the widget.
Now you should be able to customize the format in which your bookmark and the highlights are copied to your clipboard. Here are some recommendations for a format that works great with Logseq:
- Wrap the placeholder for the page title (
$TITLE) in double brackets to backlink it automatically
- Use the properties feature to add metadata to your highlights
- Use the "tag::" property in combination with the tag placeholder (
Especially the last one is super cool, because everything that comes behind the tag property will automatically be linked by Logseq. This means that you can use the tag input field in the highlighter to quickly link related topics to your highlights. You can read more about that behavior here.
You can also find the format that I'm using below in the code box. Somehow I had to add an empty line above my properties to make them format correctly in Logseq.
Roam Highlighter Format Template
1[[$TITLE]]2 -3tags:: Article, $TAGS4source:: [$TITLE]($URL)5 - Highlights6 $HIGHLIGHTS
Step 3: Highlight and import to Logseq
Now everything is ready to go! Navigate to a page where you can try out the highlighter and click the icon to activate the widget. Once you made some highlights, copy them, open Logseq and paste the copied and formatted highlights into Logseq.
Something else that I found here is to use the block to page plugin to quickly turn the highlights into a page. Or you just park them in your daily notes.
PS: I'm working on a new version of the highlighter called Markway.