Open Notion Links - 06-07-20
Recently I’ve started using Notion app for note
taking. There came times when I wanted to write about a specific directory,
but then came the problem of how to link the dic to notion page. How about a
tiny bash script? OSX’s built in open command is capable of opening links so
I copied the link from notion and put in a
docs.sh script. Boom! It opens
the notion page but in the browser not the app 😟.
After some digging I found this
repo for a chrome extension that
opens notion links in the app. Taking a look at the source code it simply
/native in the url to open in the app. Updated my script and now it
#!/usr/bin/env bash open https://www.notion.so/native/Custom-Brew-Tap-e6f4faef5130442f94c9b06575806fc0 exit 0
If I continue to do this perhaps I’ll write a small tool to create the script files for me.