JYC333 / obsidian-attachment-name-formatting

Obsidian plugin that automatically rename attachment files' name
MIT License
47 stars 7 forks source link

Attachment Name Formatting: Rescan Attachments in Current File #7

Closed chenxin0397 closed 2 years ago

chenxin0397 commented 2 years ago

The attachment renaming feature seems to only work for wiki links, using eg [[filename]] and such Wiki links. Standard Markdown hyperlink syntax is used by default, such as ()[] is invalid

In addition, the ability to export attachments that are not linked in the library is also limited If there is a vault in the vault, all attachments in the inner vault will be exported

chenxin0397 commented 2 years ago

I tried it again just now, the dm link can be renamed, but the change to to take effect

JYC333 commented 2 years ago

Hi, thanks for using this plugin, and sorry for the late reply!

I have tested the Standard Markdown hyperlink syntax and it works for me, could you please provide some examples?

For the attachments, I use the function provided by Obsidian API to fetch all the attachments in the vault. It should only get the attachments related to the vault itself. By the way, I think it's no need to build a vault inside a vault, it sounds not a good idea.

And I couldn't get what you mean in your comment, could you explain it? Thanks!