You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// 导出的格式
> 💡注释::测试
> 📋原文::<span class="highlight" data-annotation="%7B%22attachmentURI%22%3A%22http%3A%2F%2Fzotero.org%2Fusers%2F8909189%2Fitems%2FLKQD26GD%22%2C%22annotationKey%22%3A%22C72CRZX2%22%2C%22color%22%3A%22%23ffd400%22%2C%22pageLabel%22%3A%22449%22%2C%22position%22%3A%7B%22pageIndex%22%3A0%2C%22rects%22%3A%5B%5B54.652%2C438.245%2C387.659%2C446.074%5D%2C%5B54.652%2C428.267%2C104.704%2C436.096%5D%5D%7D%2C%22citationItem%22%3A%7B%22uris%22%3A%5B%22http%3A%2F%2Fzotero.org%2Fusers%2F8909189%2Fitems%2FJHUQQBFA%22%5D%2C%22locator%22%3A%22449%22%7D%7D" ztype="zhighlight"><a href="zotero://open-pdf/library/items/LKQD26GD?page=1&annotation=C72CRZX2">“Using a new case-level dataset, we document a set of stylized facts on bankruptcy in China”</a></span>
> 📍引自::<span class="citation" data-citation="%7B%22citationItems%22%3A%5B%7B%22uris%22%3A%5B%22http%3A%2F%2Fzotero.org%2Fusers%2F8909189%2Fitems%2FJHUQQBFA%22%5D%2C%22locator%22%3A%22449%22%7D%5D%2C%22properties%22%3A%7B%7D%7D" ztype="zcitation">(<span class="citation-item"><a href="zotero://select/library/items/JHUQQBFA">Li和Ponticelli, 2022, p. 449</a></span>)</span>
> 🏷标签:: #test
// 想要实现的格式
> 💡注释::测试
> 📋原文::<span class="highlight" style="background-color: #ffd40040">Using a new case-level dataset, we document a set of stylized facts on bankruptcy in China</span> ([pdf](zotero://open-pdf/library/items/LKQD26GD?page=1&annotation=C72CRZX2))
> 📍引自::([Li和Ponticelli, 2022, p. 449](zotero://select/library/items/JHUQQBFA))
> 🏷标签:: #test
> <span style="color: gray">💡注释::是的<br>📋原文::<zhighlight><span class="highlight" data-annotation="{"attachmentURI"%3A"http%3A%2F%2Fzotero.org%2Fusers%2F8909189%2Fitems%2FLKQD26GD"%2C"annotationKey"%3A"C72CRZX2"%2C"color"%3A"%23ffd400"%2C"pageLabel"%3A"449"%2C"position"%3A{"pageIndex"%3A0%2C"rects"%3A[[54.652%2C438.245%2C387.659%2C446.074]%2C[54.652%2C428.267%2C104.704%2C436.096]]}%2C"citationItem"%3A{"uris"%3A["http%3A%2F%2Fzotero.org%2Fusers%2F8909189%2Fitems%2FJHUQQBFA"]%2C"locator"%3A"449"}}" ztype="zhighlight"><a href="zotero://open-pdf/library/items/LKQD26GD?page=1&annotation=C72CRZX2">“Using a new case-level dataset, we document a set of stylized facts on bankruptcy in China”</a></span></zhighlight><br>📍引自::<zcitation><span class="citation" data-citation="{"citationItems"%3A[{"uris"%3A["http%3A%2F%2Fzotero.org%2Fusers%2F8909189%2Fitems%2FJHUQQBFA"]%2C"locator"%3A"449"}]%2C"properties"%3A{}}" ztype="zcitation">(<span class="citation-item"><a href="zotero://select/library/items/JHUQQBFA">Li 和 Ponticelli, 2022, p. 449</a></span>)</span></zcitation><br>🏷标签:: #test</span>
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
抱歉 我刚刚接触Better Notes,不得不承认这是一个强大的插件. 再次感谢您在这个插件上所做的工作,这太棒了。
在我的文献管理过程中,我常常要将笔记导出到obsidian里面管理. 原因有二: 一是我的文献大概有1500多篇,同时在zotero里面注释和管理笔记会非常的卡; 二是obsidian的双链和dataview的功能比较完善.
但是,在我利用[ExportMDFileContent]模板将Better Notes的文件导出成md的格式时, 有两个问题: (1)无法显示annotation中highlight的背景颜色; (2)highlight的原文整个是链接, 导致在对原文作局部修改和引用时候会非常不方便.
如下格式:
因为我对Java Script一点也不了解, 下午逛了论坛, 发现作者提出可以通过正则替换的方式的解决.但是首先应该要对URI进行解码, 才能够提取相应的颜色. 因为真的是小白, 问了chatGPT一下午就调试了以下语法(似乎还无法正常显示颜色):
通过以上代码输出的是这个笔记:
大家有类似的需求吗? 作者大大和各位老师们能提供一些方案吗?谢谢
Beta Was this translation helpful? Give feedback.
All reactions