The FileTree should have a Rename option on files and directories.
It should open a dialog that allows entering the new name. The new name should be restricted to alphanumeric with - and _. This could mean the existing name could not be typed, but this keeps it in line with the rest of the vaults. For files, the extension must be preserved (a .png stays a .png).
Once confirmed:
- The file should be renamed within the vault.
- Then all references within
*.md files should be updated. A reference can only be one of the following formats:
[[file-name]] - this flavor does not include the extension but could include the path [[vault/path/file-name]]
- In this case changing it to just the new file name is valid
[Short](vault/path/file-name.md) this flavor should be the full vault path including extension.
- In this case changing it to the new full path is valid. The extension should be preserved.
- The short description text should not be edited.
The FileTree should have a
Renameoption on files and directories.It should open a dialog that allows entering the new name. The new name should be restricted to alphanumeric with
-and_. This could mean the existing name could not be typed, but this keeps it in line with the rest of the vaults. For files, the extension must be preserved (a.pngstays a.png).Once confirmed:
*.mdfiles should be updated. A reference can only be one of the following formats:[[file-name]]- this flavor does not include the extension but could include the path[[vault/path/file-name]][Short](vault/path/file-name.md)this flavor should be the full vault path including extension.