Skip to content

Commit a8d32cd

Browse files
committed
chore: tip for deletion notes
1 parent 58ecc99 commit a8d32cd

2 files changed

Lines changed: 21 additions & 0 deletions

File tree

docs/src/content/docs/en/shortcuts/sync-folder.mdx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,17 @@ to:
9797

9898
The note will be removed from your blog on the next sync.
9999

100+
### Accidentally deleted the note locally?
101+
If you deleted the note from Apple Notes before adding the `[DEL]` tag, you can:
102+
103+
<Steps>
104+
105+
1. Find and restore the note from the **Recently Deleted** folder in Apple Notes.
106+
2. Once restored, add `[DEL]` to the title and sync again.
107+
3. If it's no longer in the trash, you'll need to manually delete the corresponding `.md` file in your GitHub repository.
108+
109+
</Steps>
110+
100111
## Next Steps
101112

102113
Now that the folder is set up, finally we need to configure automation so your notes sync automatically when you close the app.

docs/src/content/docs/shortcuts/sync-folder.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,16 @@ import { Steps } from '@astrojs/starlight/components';
9797

9898
下次同步时,该笔记将从博客中移除。
9999

100+
### 误删了本地笔记?
101+
102+
如果你在添加 `[DEL]` 标记之前误删了本地备忘录,可以尝试:
103+
104+
<Steps>
105+
1. 在备忘录的「最近删除」(Recently Deleted) 文件夹中找到并恢复该笔记。
106+
2. 恢复后,添加 `[DEL]` 标题并再次同步。
107+
3. 如果回收站已清空,你需要前往 GitHub 仓库手动删除对应的 `.md` 文件。
108+
</Steps>
109+
100110
## 下一步
101111

102112
文件夹创建好了,最后我们需要设置自动化,让笔记在关闭时自动同步。

0 commit comments

Comments
 (0)