插件版本
- zotero: v7.0.5
- Ethereal Style: v4.9.8
- Better Notes for Zotero: v2.0.8
- Green Frog: v0.19.05
笔记模版样式

模版代码
<!--
zotero: v7.0.5
Ethereal Style: v4.9.8
Better Notes for Zotero: v2.0.8
Green Frog: v0.19.05
-->
<!-- 标题 -->
<h1 style="color:#193c47; background-color:#eef9fd; padding:8px;">
${(() => {
const date = topItem.getField("date").split('T')[0];
const title = topItem.getField("title");
const titleTranslation = topItem.getField("titleTranslation");
if (date && titleTranslation) {
return `(${date}) ${title} (${titleTranslation})`;
} else if (date) {
return `(${date}) ${title}`;
} else {
return `${title}`;
}
})()}
</h1>
<!-- Meta Data -->
<table>
<!-- 作者 -->
<tr>
<td style="color:#193c47; background-color:#dbeedd; padding:8px;">
<b>作者:</b> ${topItem.getCreators().slice(0, 10).map((v) => v.firstName + " " + v.lastName).join("; ") + (topItem.getCreators().length > 10 ? "; et al." : ";")}
</td>
</tr>
<!-- 期刊 -->
<tr>
<td style="color:#193c47; background-color:#f3faf4; padding:8px;">
<b style="color:#193c47;">期刊: <b style="color:#FF0000">${topItem.getField('publicationTitle')}</b></b><b style="color:#193c47;"> (发表日期: ${topItem.getField("date").split('T')[0]})</b>
</td>
</tr>
<!-- 期刊分区 -->
<tr>
<td style="color:#193c47; background-color:#dbeedd; padding:8px;">
<b>期刊分区: </b>
<!-- Zotero7中,引用了Ethereal Style插件的标签,请提前安装Ethereal Style-->
${{
let space = " ㅤㅤ ㅤㅤ"
return Array.prototype.map.call(
Zotero.ZoteroStyle.api.renderCell(topItem, "publicationTags").childNodes,
e => {
e.innerText = space + e.innerText + space;
return e.outerHTML
}
).join(space)
}}$
</td>
</tr>
<!-- 本地链接 -->
<tr>
<td style="color:#193c47; background-color:#f3faf4; padding:8px;">
${(() => {
const attachments = Zotero.Items.get(topItem.getAttachments());
const pdf = attachments.filter((i) => i.isPDFAttachment());
if (pdf && pdf.length > 0) {
return `<b>本地链接: </b><a href="zotero://open-pdf/0_${pdf[0].key}">${pdf[0].getFilename()}</a>`;
} else if (attachments && attachments.length > 0) {
return `<b>本地链接: </b><a href="zotero://open-pdf/0_${attachments[0].key}">${attachments[0].getFilename()}</a>`;
} else {
return `<b>本地链接: </b>`;
}
})()}
</td>
</tr>
<!-- DOI or URL -->
<tr>
<td style="color:#193c47; background-color:#dbeedd; padding:8px;">
${(() => {
const doi = topItem.getField("DOI");
if (doi) {
return `<b>DOI: </b><a href="https://doi.org/${topItem.getField('DOI')}">${topItem.getField('DOI')}</a>`;
} else {
return `<b>URL: </b><a href="${topItem.getField('url')}">${topItem.getField('url')}</a>`;
}
})()}
</td>
</tr>
<!-- 笔记日期 -->
<tr>
<td style="color:#193c47; background-color:#dbeedd; padding:8px;">
<b>笔记日期: </b>${new Date().toLocaleString()}
</td>
</tr>
</table>
<h2 style="background-color: rgb(255, 248, 225); color: rgb(230, 81, 0)">📜 中文摘要 </h2>
<!-- 中文摘要 -->
<tr>
<td style="color:#193c47; background-color:#f3faf4; padding:8px;">
${(() => {
const abstractTranslation = topItem.getField('abstractTranslation');
if (abstractTranslation) {
return `<b>摘要翻译: </b><i>${abstractTranslation}</i>`;
} else {
return `<b>摘要: </b><i>${topItem.getField('abstractNote')}</i>`;
}
})()}
</td>
</tr>
<hr>
<blockquote>Tips: 摘要四要素:研究对象 & 研究问题 & 研究方法 & 实验结果</blockquote>
<h3><span style="color: rgb(21, 101, 192)">(1) 研究对象</span></h3>
<p></p>
<h3><span style="color: rgb(21, 101, 192)">(2) 研究问题</span></h3>
<p></p>
<h3><span style="color: rgb(21, 101, 192)">(3) 研究方法</span></h3>
<p></p>
<h3><span style="color: rgb(21, 101, 192)">(4) 实验结果</span></h3>
<p></p>
<h2 style="color: rgb(46, 125, 50); background-color: rgb(241, 248, 233)">📊 论文结构 </h2>
<hr>
<blockquote>Tips: 理解每个章节写的内容,每个段的内容,有助于自己对论文撰写的理解!</blockquote>
<h3>🙋♀️ INTRODUCTION</h3>
<p></p>
<h3>📌 RELATE WORK</h3>
<p></p>
<h3>🧩 MODEL</h3>
<p></p>
<h3>⚙️ EVALUATION</h3>
<p></p>
<h3>💡 CONCLUSION</h3>
<p></p>
<h2 style="color:#20b2aa; background-color:#afeeee;">🚩 模型分析 </h2>
<hr>
<blockquote>Tips: 理解论文提出的模型,如果有源码应当浏览,若没有可以借助ai辅助复现代码</blockquote>
<h3>💧 数据</h3>
<p></p>
<h3>👩🏻💻 方法</h3>
<p></p>
<h3>🔬 实验</h3>
<p></p>
<h3>📜 结论</h3>
<p></p>
<h3>🔁 源码</h3>
<p></p>
<h2 style="color: rgb(0, 96, 100); background-color: rgb(224, 247, 250)"><span style="color: rgb(0, 96, 100)"><span style="background-color: rgb(224, 247, 250)">📌 创新 & 疑问</span></span></h2>
<hr>
<blockquote>Tips: 一句话概括本篇论文的创新点,以及自己对本篇论文不理解的地方。</blockquote>
<h3><span style="color: rgb(21, 101, 192)">创新:</span></h3>
<p></p>
<h3><span style="color: rgb(21, 101, 192)">疑问:</span></h3>
<p></p>
<h2 style="color: rgb(21, 101, 192); background-color: rgb(246, 135, 233)">🔬 研究展望</h2>
<hr>
<blockquote>Tips: 借助ai梳理论文帮助,寻找以此论文为基础是否能进一步扩展研究思路,找到创新点。</blockquote>
<p></p>
<p></p>
<h2 style="color:#004d99; background-color:#87cefa;">🤔 我的思考</h2>
<hr>
<blockquote>Tips: 在自己已看论文的基础上思考能否将两者结合起来形成一个idea </blockquote>
<p></p>
<p></p>