obsidian-zotlit icon indicating copy to clipboard operation
obsidian-zotlit copied to clipboard

让拖拽到obsidian中的注释中带上跳转回zotero的回链

Open wwjCMP opened this issue 1 year ago • 2 comments

让拖拽到obsidian中的注释中带上跳转回zotero的回链。现在只有原文的页码标记,使用起来不方便。

wwjCMP avatar Feb 05 '24 21:02 wwjCMP

如果是win端的话,建议使用quicker进行文本处理,建立起回链,这样会更加快捷。

SimonJarry avatar Apr 11 '24 11:04 SimonJarry

可以在注释模板中自己添加回链,比如把下面这一行添加到zt-annot.eta中 [<%= it.docItem.title %>](<%= it.backlink %>)

举个例子,我自己用的模板zt-annot.eta为

[!note] <%= it.docItem.citekey %>


<%= it.imgEmbed %><%= it.text %>
> [<%= it.docItem.title %>](<%= it.backlink %>)

<% if (it.comment) { %>
---
<%= it.comment %>
<% } %>

生成的注释效果如图 image

配置自定义模板的方法,请参考https://zotlit.aidenlx.top/zh-CN/getting-started/basic-usage/template-config

guoweiy avatar Apr 23 '24 19:04 guoweiy