About
    • AMMDI is an open-notebook hypertext writing experiment, authored by Mike Travers aka @mtraven. It's a work in progress and some parts are more polished than others. Comments welcome! More.
Search
Full
Incoming links
from goddinpotty/TODOs
from roam
from 2021 Year-end review
Twin Pages

Paste Markdown Link

26 May 2021 01:25 - 01 Jan 2022 07:48

    • 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:
        • Firefox: sorry, you are out of luck, doesn't support AppleScript
      • 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)