Copy Obsidian Publish URL

Use case or problem

I write content for my blog or newsletter within the Obsidian app and within this context, I often add links to my published pages in Obsidian Publish.

It would be very helpful to be able to open a note in the Obsidian app, and if that page is published to Obsidian Publish, provide an option to copy the link.

Proposed solution

Similar to the current “Copy obsidian URL” menu option, if I’m in a note that is published to Obsidian Publish, provide a “Copy obsidian publish URL” menu option.

Current workaround

Currently, I open my Obsidian Publish site, find the page (which would be easier with search), and then copy the URL.