obsidian-zotlit
obsidian-zotlit copied to clipboard
[Feature Request] partial persistence of note
In my use case, somewhere of zt-note.eta contains some info about the literature item that may need update, and elsewhere contains some custom note that one would like to keep unchanged. This arrangement of note is actually quite common.
For example, part of a zt-note.eta file I'm testing is like:
# <%= it.title %>
* Authors: <% = it.authors.map(author=>'[['+author+']]').join(', ') %>
* KeyWords: <% = it.tags.map(tag=>'#'+tag.name).join(', ') %>
* Collections: <% = (new Set([].concat(...it.collections.map(c=>c.path.map(p=>'#'+p.replaceAll(' ','_')))))).join(', ') %>
* DOI: [<%= it.DOI %>](https://doi.org/<%= it.DOI %>)
* Zotero: [Local Library](<%= it.backlink %>)
***
### Comment
comment::
***
### Annotations
<%~ include("annots", it.annotations) %>
The above template contains an 'info' panel, a comment panel and zotero annotations. In the 'info' panel, the * KeyWords:
and * Collections:
lines may need update after a while, e.x. new tags added to the Zotero item, the item being added to new collection, etc. One may add a short, descriptive comment after comment::
after a while, and maybe in other case a more extensive note, and do want to keep this part unchanged after 'Update Literature note'.
I've noticed that the zt-field.eta
will always update the frontmatter of note (which is a surprise to me since it's not covered in doc yet), no matter how you twist the Note update setting. So perhaps a similar mechanism can be used to partial update the note content?
图中左侧的表格中间出现了空白,空白上的一行和下面的数据是同一个list里的连续数据
试试升级版本
你好,我们发现此Issue已经超过三个月没有活动了,为了更好的帮助您解决问题,我们将在两周后关闭此Issue,如果您仍然有问题,请在两周内内回复此Issue,谢谢!如果您已经解决或者不需要帮助,请忽略此消息。