Clip selection to Obsidian

Are you sure? For me, the files get a .md suffix added automatically.

For example if I put foo in popclip settings, it’s shown in Obsidian UI as foo and the actual file created on disk is foo.md.

(I wonder if it’s different verison of Obsidian or of the Advanced URI Plugin possibly? Or if there is some setting that affects this? I’m not really an Obsidian user so I’m not super au fait with all this.)

Thank you very much for creating this extension, it is superb!

I would have one feature request: when using this on a pdf file, currently the extension takes the title in the pdf’s info field and adds it above the captured text. Would it be possible to grab and add the file name instead? Or have an option to chose this?

My usage scenario is that I use the extension to quick capture text from academic literature; my file names follow a year - author - title format so having the file name makes the origin of the captured text immediately clear (whereas what goes into the info field is usually only a title or something else).

Hi — this is a bit baffling to me, as the extension doesn’t have any code to add the document title above the text.

I wonder how it is getting there.

Is your PDF reader adding that to the copied text, perhaps?

Is your PDF reader adding that to the copied text, perhaps?

It does indeed with some readers. I tested with Preview, PDF Expert and Foxtrot Pro (a desktop search app in which I first noticed the behaviour). In Preview and FP the document title gets added in the Obsidian note when using the extension, but not when doing a copy-paste from the reader without using the extension. PDF Expert doesn’t add anything when using the extension, just the highlighted text.

I don’t see this behaviour with Preview. Are you using the “official” Obsidian extension from the website, or something else?

The official one here.

Thanks for confirming. I’ve double checked and indeed that extension doesn’t add anything before the selected text. So any text content appearing is what’s coming as the “selected text”. I’m somewhat baffled as to what it actually happening here.

I’ve submitted a PR feat: add optional timestamp for Thino plugin compatibility by dangehub · Pull Request #1271 · pilotmoon/PopClip-Extensions · GitHub

1 Like

Really like how this includes a link to the original URL /web source.

1 Like

Great extension! I’ve been using the official Obsidian PopClip extension, but I often switch between adding content to my daily note and appending to a specific note. Is there a way to install a second instance with different settings, or create a separate extension that directs text to a different file?

1 Like

Extension duplication is not a feature yet, yet but it is coming!

You CAN duplicate an extension right now though by copying its .popclipext package and changing its extension ID in the config file inside. Let me know if you’d like a more detailed walkthrough on that.

1 Like