Hotkey to copy pdf page link

What I’m trying to do

I like to read papers in Obsidian’s pdf viewer and take notes in another pane. In this scenario t would be useful if there was a hotkey that gets an internal link to the pdf and the current page number. Ideally it would also get the current pdf page label. As far as I know there is no such hotkey. Would it be possible to write a plugin for this and if so, how would one go about it? Any help is appreciated!