1772449055
This commit is contained in:
@@ -49,6 +49,6 @@
|
||||
| 候选存在 | `[` / `]` | 以词定字:取首字/末字 | `wanxiang.schema.yaml` |
|
||||
| 候选存在 | `,` | super_tips 上屏按键 | `wanxiang.schema.yaml` |
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
@@ -19,6 +19,14 @@ module.exports = async (params) => {
|
||||
// 获取所有引用该文件的笔记
|
||||
const backlinks = app.metadataCache.getBacklinksForFile(activeFile);
|
||||
|
||||
console.log("引用文件的列表:");
|
||||
for (const [file, links] of backlinks.data) {
|
||||
console.log(`- ${file}: ${links.length} 个引用`);
|
||||
for (const link of links) {
|
||||
console.log(` ${link.link}`);
|
||||
}
|
||||
}
|
||||
|
||||
// 确认操作
|
||||
const confirm = await quickAddApi.yesNoPrompt(
|
||||
"确认重命名",
|
||||
|
||||
Reference in New Issue
Block a user