思源笔记社区正在搭建中,现邀您共建
SiYuan Community is under construction. Join us to co-build.
alice
alice
,在 alice
中新建 icon.js
和 icon.json
文件icon.json
,具体示例请参考 github repo: siyuan-note/icon-sampleicon.js
文件,贴入制作完成的图标index.html
文件icon.js
Import Icons
导入上一步制作好的图片<symbol id="iconMarkdown" viewBox="0 0 32 32">
中的 id
为 index.html
对应的图标名<defs>...</defs>
中的内容替换到 icon.js
中对应的位置index.html
中 material
替换为 alice
index.html
查看最终效果