Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mnaoumov/obsidian-smart-rename
Obsidian Plugin that helps to rename notes keeping previous title in existing links
https://github.com/mnaoumov/obsidian-smart-rename
Last synced: 2 months ago
JSON representation
Obsidian Plugin that helps to rename notes keeping previous title in existing links
- Host: GitHub
- URL: https://github.com/mnaoumov/obsidian-smart-rename
- Owner: mnaoumov
- License: mit
- Created: 2023-03-19T23:27:05.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-26T19:54:48.000Z (4 months ago)
- Last Synced: 2024-10-03T09:58:08.787Z (3 months ago)
- Language: TypeScript
- Size: 74.2 KB
- Stars: 25
- Watchers: 5
- Forks: 2
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Smart Rename
This is a plugin for [Obsidian](https://obsidian.md/) that adds the command `Smart Rename` which performs the following steps after renaming the note:
1. Adds the previous title as an alias to the renamed note
2. Preserves the backlinks to the renamed note that were using previous title as a display text.## Detailed explanation
1. You have
`OldName.md`:
```markdown
This is a note `OldName.md` that is going to be renamed to `NewName.md`.
````OtherNote.md`:
```markdown
This note references1. Wikilink [[OldName]]
2. Wikilink with the same display text [[OldName|OldName]]
3. Wikilink with a custom display text [[OldName|Custom display text]]
4. Markdown link [OldName](OldName.md)
5. Markdown link with a custom display text [Custom display text](OldName.md)
```2. You invoke current plugin providing `NewName` as a new title
3. Now you have
`NewName.md`:
```markdown
---
aliases:
- OldName
---This is a note `OldName.md` that is going to be renamed to `NewName.md`.
````OtherNote.md`:
```markdown
This note references1. Wikilink [[NewName|OldName]]
2. Wikilink with the same display text [[NewName|OldName]]
3. Wikilink with a custom display text [[NewName|Custom display text]]
4. Markdown link [OldName](NewName.md)
5. Markdown link with a custom display text [Custom display text](NewName.md)
```Current plugin's aim is to preserve `OldName` display text in links 1, 2, 4
## Installation
- `Smart Rename` is available on [the official Community Plugins repository](https://obsidian.md/plugins?id=smart-rename).
- Beta releases can be installed through [BRAT](https://github.com/TfTHacker/obsidian42-brat)## Support
## License
© [Michael Naumov](https://github.com/mnaoumov/)