[Item] a link to item PDF,一个方便跳转到文献页面的链接按钮 #588
nilleo
started this conversation in
Note Templates
Replies: 4 comments 13 replies
-
不好意思,请问为什么我这边一直显示:
我也尝试过加 |
Beta Was this translation helpful? Give feedback.
8 replies
-
I got the same error as listed above. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Got the same error as listed above. <a href=zotero://open-pdf/0_${Zotero.Items.get(topItem.getAttachments()).filter((i) => i.isPDFAttachment())[0].key}>
${Zotero.Items.get(topItem.getAttachments()).filter((i)=> i.isPDFAttachment())[0].getFilename()}
</a> |
Beta Was this translation helpful? Give feedback.
3 replies
-
Would it be possible to have this link point to the notebook itself, rather than the PDF? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If the template doesn't work, please use the code provided by the helpful friend in the comments.
Type: Item
Description: a link to item PDF,我用来放标题旁边方便看笔记时打开对应的文献PDF。The PDF link will be displayed when the cursor is placed to the left of 🔗.
Screenshots:
![image](https://private-user-images.githubusercontent.com/97679720/256186647-151626ac-8feb-4d09-a684-3f14309ce438.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1MTY2MTksIm5iZiI6MTczOTUxNjMxOSwicGF0aCI6Ii85NzY3OTcyMC8yNTYxODY2NDctMTUxNjI2YWMtOGZlYi00ZDA5LWE2ODQtM2YxNDMwOWNlNDM4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDA2NTgzOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFkZWE1NWM3YjBlY2MxMWI4NmI1MDBiNWM3MWFkNjc4MGRjYzAwMjljNGEyNzE0NzNhZDQ0OGNkMjcyYmI2MmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.vhJb18rdwiZv283TKN7iRgzuukgHhnt1Skdt-v9D5QA)
To import this template:
Click to show the example template
Edit
->New Template from Clipboard
.Beta Was this translation helpful? Give feedback.
All reactions