Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specifiying directory when renaming #60

Open
xtuer opened this issue Apr 8, 2023 · 5 comments
Open

Specifiying directory when renaming #60

xtuer opened this issue Apr 8, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@xtuer
Copy link

xtuer commented Apr 8, 2023

It would be better specifiying directory using separator slash "/" when renaming.

Such as the name "foo/bar.png", the image will be saved in folder "attachmens/foo" with the name "bar.png".

@xtuer xtuer added the enhancement New feature or request label Apr 8, 2023
@evilcomrade
Copy link

evilcomrade commented May 20, 2023

Has this been implemented? How do i specify the directory i want my pastes to go to? Adding the file path as a prefix seems to have the slashes get filtered out? The plugin mentioned its inspired by Zettlr and in the example given it shows exactly what i want to be able to do, however with this plugin i haven't figured how to yet.

Please help <3

"/Images/{{fileName}}"

Gets turned into:

image

Why does the path value scape out the slash?

@obar1
Copy link

obar1 commented Sep 16, 2023

even easier option

  • save image in same folder of the md

like https://github.com/mushanshitiancai/vscode-paste-image
thanks @reorx

@BrianMakes
Copy link

I would use this option as well.

I would recommend a config option to enable/disable the feature.
If you wanted to get really fancy being able to configure defaults for directories would be nice.

I want to use the Obsidian default attachment directory about 75% of the time, but I have a few special cases where I would like to change (either all the time, or have the option to select).

@krishnams0ni
Copy link

I would love to see this implemented too!

@WadoodAbdul
Copy link

Hey, until the plugin is updated, this is how I'm solving it -
#82 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants