Open iLern opened 6 months ago
我根据文档修改了模板。然而,在重新更新笔记后(通过Force update by over writting),发现annotation并没有显示相应的颜色。虽然可以看到生成的文档内容已经改变,但似乎没有读取到zt-colored.eta。我想知道是否还需要进行额外设置。
zt-colored.eta
Obsidian v1.5.3 ZotLit v1.1.4
// zt-colored.eta <mark style=" <%- if (it.color) { _%> color: <%= it.color %>; <%_ } -%> <%- if (it.bgColor) { _%> background-color: <%= it.bgColor %>; <%_ } -%> "><%= it.content %></mark>
// zt-annot.eta [!<%= it.colorName %>] Page <%= it.pageLabel %> <%= it.imgEmbed %><%= it.text %> <% if (it.comment) { %> --- <%= it.comment %> <% } %>
问题描述
我根据文档修改了模板。然而,在重新更新笔记后(通过Force update by over writting),发现annotation并没有显示相应的颜色。虽然可以看到生成的文档内容已经改变,但似乎没有读取到
zt-colored.eta
。我想知道是否还需要进行额外设置。环境信息
Obsidian v1.5.3 ZotLit v1.1.4
附图
模板文件