anoopkcn / obsidian-reference-map

Reference and citation map for literature review and discovery
GNU General Public License v3.0
200 stars 6 forks source link

FR: Add support to DOIs that are part of links #4

Closed pcuellar closed 1 year ago

pcuellar commented 1 year ago

I import papers via Zotero Integration which bring DOIs as links so that I can quickly refer to the web version of each paper. However, your plugin does not take a DOI that is part of a markdown link a-la [DOI#](link-to-DOI). It would be great to have this feature which will save those of us using this workflow having to reformat hundreds of files. Thanks!

anoopkcn commented 1 year ago

Hi, Thanks for the feedback. I use my plugin zotero-annotations to import notes and annotations from Zotero, which formats the DOI in a specific way. However, I will implement a solution to your problem soon

anoopkcn commented 1 year ago

I fixed this issue; please check the release version 0.3.4. Let me know if this works; I will close the issue if it does.

pcuellar commented 1 year ago

Thanks for looking into this. Unfortunately, it does not seem to work for me. See screenshots attached. I tried it on a sandbox vault and it didn't work either. No errors on console

Screenshot 2023-01-03 at 7 27 59 PM Screenshot 2023-01-03 at 7 28 24 PM
anoopkcn commented 1 year ago

Hi, Thanks for the screenshots. Hopefully, I fixed it this time. Checkout the version 0.4.1

pcuellar commented 1 year ago

Can confirm this is working. Thanks for implementing this 🔥

anoopkcn commented 1 year ago

There was a bug in matching multiple DOI links in the same file. it is fixed now. You might want to get the latest version