obsidian-image-converter
obsidian-image-converter copied to clipboard
Variable {notepath}
I want my attachments to be storied in the folder named as: Attachments/{notepath}
But when I use this variable,it include my notename's extension(.md) which is I don't want.
Is there any variable can generate file paths without extensions? It's not provided in the optional variables.
If a solution can be provided, thank you very much!
I found that the variable directory meets my needs and is included in the help documentation, but it is not implemented in the published plugin.
Does the variable {notename} match your needs?
Does the variable
{notename}match your needs?
The effect I want to achieve is: Attachments/project/subproject/mynote
But the variable {notepath} is interpreted as : Attachments/project/subproject/mynote.md
But I don't want the file extension .md,which causes my pictures are images are stored in the following folder:
Attachments/project/subproject/mynote.md/image.png
So I want to combine other variables to achieve this effect.
The following variables are available in the plugin:
{parentfolder}: project
{notefolder} : project
{notepath} : project/subproject/mynote.md
{notename} : mynote
I fonud the variable {directory} in Examples/Variables Reference Guide.md meet my needs.
{directory} - Full directory path e.g.: "Documents/Photos/Vacation"
Which helps me get this :
Attachments/{directory}/{notename} : Attachments/project/subproject/mynote
But this variable is not actually installed in the plugin 🤒
Can you help me solve this problem? Thank you very much!😝😝
Hi, I'm also encountering this issue, I'd like to know how you're dealing with it now?
Hi, I'm also encountering this issue, I'd like to know how you're dealing with it now?
Just ignore of this issue, waitting for the author to fix it,haha。😂
+1. I also found the {directory} variable in the reference guide, but it doesn't work.
+1, I'm also encountering this issue
@Neon-JZ I removed .md from notepath. Not sure if that is what you were after:
https://github.com/user-attachments/assets/cfab8f61-7146-4572-8147-755154bc16e3
@Neon-JZ I removed .md from notepath. Not sure if that is what you were after:
Obsidian_f4d42iBiGj.mp4 Thansk a lot!