You decide your Pics folder should be called Images. You rename it in the Finder, open a note, and every picture is a broken icon. Nothing is lost: the pictures are all still there.
Source: [Dev.to](https://dev.to/pedro_ptthomaz_7ba07ec/move-and-rename-markdown-files-without-breaking-links-or-pictures-1gnp)