求助:使用zotlit编辑属性模板问题

求助各位大佬,在使用obsidian zotlit插件时遇到了如下问题:

  1. 图片中这里为什么会导入两个内容呢?上面的html文件和下面的pdf文件对应什么呢?
  2. 我目前参考了已有的回答,编辑的属性代码如下:
    问题有:
  • 渲染后没有author属性这一栏
  • 如何添加影响因子的属性呢?
  • 如何通过绝对或相对路径实现在obsidian中直接打开zotero中的附件PDF呢?
  1. 怎样编辑侧边栏显示的标注卡片模板,使得能够在卡片上显示不同颜色的标注类别?(直接对应zotero中style设置的类别),以及能否实现在侧边栏中按照颜色筛选显示的条目?
collections: "<%= it.collections %>"
tags:<% if (it.tags) { %>
<% it.tags.forEach(function(tag) { %>
  <% if (tag.type === 0) { %>
  - "<%= tag %>"
  <% } %>
<% }); %>
<% } %>
author: <% if (it.language=='en-US') { %>
<% it.authors.forEach(function(author) { %>
  - "[[<%= author %>]]"
<% }); %>
<% } else if (it.language=='zh-CN') { %>
<% it.authors.forEach(function(author) { %>
  - "[[<%= author.lastName + author.firstName %>]]"
<% }); %>
<% } %>
publication: <% if (it.publicationTitle) { %>"[[<%= it.publicationTitle %>]]"<% } %>
publish-date: "<%= it.date ?? it.year %>"
DOI: "<%= it.DOI %>"
url: "<%= it.url %>"
attachment: "<%= it.title %>"
created-date: <%= it.dateAdded.substring(0,10) %>
citekey: "<%= it.citekey ?? ' '%>"

感谢各位的帮助:pleading_face::pleading_face::pleading_face:

第一条用模板配置成markdown链接格式就好
第二条指的是什么呢?如果指的是将标注拖到笔记中时带有颜色,我写过个html格式的模板

晚点我都放上来

感谢(●’◡’●)
后面的就是指能不能在圈的位置显示zotero注释的类型,然后可以像zotero中一样按颜色分组༼ ◕_◕ ༽
image

关于打开pdf,在你的新帖子下回复了:

(把链接贴到这里方便其他人参考

显示注释类型或许可以用css实现,我后续尝试一下

好的,感谢您,这个插件真的很符合科研人的需求!

可以尝试用css手动配置一下

效果如图:

/* zotlit - 摘录面板添加标识 */
/* 标识属性 */
.zt-icon::after{
  font-size: 12px;
  margin-left: 5px;
}
/* 标识内容(自行修改对应rgb属性) */
.annot-header-drag-container:has(.zt-icon[style*="color: rgb(255, 212, 0)"])::after {
  content: "黄色";
  color:rgb(255, 212, 0);
}
.annot-header-drag-container:has(.zt-icon[style*="color: rgb(241, 152, 55)"])::after {
  content: "橙色";
  color:rgb(241, 152, 55);
}
.annot-header-drag-container:has(.zt-icon[style*="color: rgb(255, 102, 102);"])::after {
  content: "红色";
  color:rgb(255, 102, 102);
}

/* 更多按钮 - 放大 */
.annot-header-buttons-container{
  scale:1.5!important;
  transform-origin:-50px;
}
/* 标识按钮 - 放大 */
.annot-header-drag-container{
  scale:1.5!important;
  transform-origin:left;
}

如何添加css脚本:【新手向教程】OB样式调整基础课:CSS入门科普

感谢大佬ヾ(≧▽≦*)o