Paste Markdown Link
30 Oct 2021 - 11 Jul 2025
- A Roam hack for MacOS that lets you conveniently paste a browser link into Roam, Logseq, or other Markdown-syntax editor.
- It assumes Brave as the browser, but you can easily change it to Chrome or other Chromium-based browsers. If you want to use Firefox or other non-Chrome browser, you will have to do more editing and experimentation – the AppleScript APIs are not standardized.
- To use:
- Download the version for your preferred browser. It might get blocked or require an extra confirm step.
- Firefox: sorry, you are out of luck, doesn't support AppleScript
- ARGH no longer working in Ventura or whatever disastrous MacOS update I am on. Opening the file brings up "Quick Action Installer"
- It installs and is available on the Services menu but keybinding doesn't work anymore.
- Unzip, double-click, and install
- Bind it to a key in
- System Preferences > Keyboard > Shortcuts > Services
- (I use command-option-control-y based on Emacs yank command)
- Hitting the key within Logseq or another Markdown-based application will paste a formatted link using the the URL and title of the most current Brave tab.
- Copy Preview Markdown Link
- inserts a file:// link, which confuses Roam but I guess is something?
- Todo: add a processor for static-roam that uploads and links them properly.
- OK for papers, dicey for books. (For public graph)
- Updates
- Dec 4th, 2022 Stopped working, getting errors like this
fucking annoying. Can't figure out why – Logseq updated, but - Apr 1st, 2023
- Well fuck, here I am in MacOS Ventura and I can't get this shit to work any more. Best I could do -- use FastScripts 3 , pay for the premium version, and I still can't get it to the paste, so you need two keystrokes (C-opt-cmd-Y, Cmd-v)
- This is an acceptable substitute I guess Logseq Quick Capture
- Actually this sucks in multiple ways, I guess I could roll my own
- TODO inserts timestamp and a link:
- 16:23 quick capture: What is this
css-dev-onlyclass? · ant-design/ant-design · Discussion - Note that IT DIDN"T INSERT THE FUCKING LINK which is https://github.com/ant-design/ant-design/discussions/38753