You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Obsidian has the following two settings:
(Screenshot is taken from Obsidian 0.14.6.)
Default location for new notes can be selected to be one of:
Vault folder
In the folder specified below. If this is selected, then the Attachment folder path setting is visible and defines the folder.
Same folder as current file
In subfolder under current folder. If this is selected, then the Subfolder name setting is visible and defines the folder.
I'd like to implement variables that give the above mentioned directory. AFAIK, the Obsidian API does not have a method that supports this. I made a feature request in Obsidian's forums.
I'm thinking about the following new variable names:
{{new_attachment_folder_path:relative}} / {{new_attachment_folder_path:absolute}}: Similar to {{folder_path}}.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Obsidian has the following two settings:

(Screenshot is taken from Obsidian 0.14.6.)
Default location for new notes can be selected to be one of:
I'd like to implement variables that give the above mentioned directory. AFAIK, the Obsidian API does not have a method that supports this. I made a feature request in Obsidian's forums.
I'm thinking about the following new variable names:
{{new_attachment_folder_path:relative}}
/{{new_attachment_folder_path:absolute}}
: Similar to{{folder_path}}
.{{new_attachment_folder_name}}
: Similar to{{folder_name}}
.Does anyone have any comments on the variable names? Are they a bit long?
Shorter ideas:
{{attachment_folder_path}}
{{attachment_folder_name}}
Beta Was this translation helpful? Give feedback.
All reactions