-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
[Plugin][FR]: Use Obsidian Path for Attachements #230
Comments
Sorry, I couldn't understand. You can set image path per file in the properties. And you could set the folder to Could you elaborate? |
In which properties? I don't really want to define paths to use for each image or asset, instead I'd just want to use the folder structure it already has.
|
Okay, I understand what you want 👍 ! |
Oh that's awesome to hear! 😊 Btw. not sure where to report documentation issues, but the template link under the "Github actions & Obsidian's plugin" section is broken: https://obsidian-publisher.netlify.app/#github-actions-obsidians-plugin |
Ty ! 🍰 Fill fix it asap |
Fixed (there was a bug :'D) and featured in v6.9.0 (NICE) ! |
Wow you're fast! 😲 Thanks a lot for this (nice 😉) release. One thing that would be superduper on top is, to have a similar folder/filename replacement function like already exists for pages.
Alternative, as a whole separate feature, it might be useful to be able to set the "root directory" of sorts, but I haven't full thought this through, maybe given that notes can be anywhere in the vault, this wouldn't work. Looks like all the docs internal text-links are broken here: https://obsidian-publisher.netlify.app/plugin/ |
Wait. I forgot to apply the regex for image 💀 Thanks to remind me to do it!
Don't understand this, if you can explain more! |
Regex fixed in 6.9.1 |
Thank you so much again! 😊
With the regex it's not really needed and possibly more flexible. As per example I'm currently replacing the beginning of the path ( |
Wait. I'm pretty sure such option exist. But maybe not named root... Did you try the default folder option? |
Okay the description was totally wrong in the settings. I fixed that! So yes, you can use the folder in upload to define the root. |
Ah I meant it more for the other side, a root folder within my Obsidian vault.
Anyways, with the regex this isn't really needed anymore. 🙂 |
Oh, yes, regex was thinked for this kind of things ^^ |
Issue validation
Is your feature related to a problem ?
No response
What solution do you want to see ?
Obsidian Github Publisher current uploads all the attachments into a single directory specified. If you have a lot of pages and images, this ends up being quite a mess on the GitHub repository side.
What would be more useful if I could configure the plugin to keep the Obsidian Path, similar how you can do so for the doc pages.
For example:
Instead of (with Obsidian Path for files):
I'd just like to keep the
something/graphics
directory for the images.Describe the alternative you've considered
Currently I have to either give in and have every asset dumped into a single directory or what I actually do is disable the attachment upload altogether and manually manage those.
OS
Windows
Anything else?
Love the plugin! 🙂
Plugin version
6.8.3
Obsidian version & debug log
The text was updated successfully, but these errors were encountered: