Starting with macOS 13 Ventura, Apple has added a button to the Notes app toolbar that allows you to quickly insert Links and Universal Links to notes.
I wonder if there is a public API behind it. At first I thought it is backed by the SharedWithYou Framework, but that only seems to work with links that are associated with your app via Universal Links. I'm especially interested in getting links from websites shared with uses in Messages or opened in Safari.
