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

[FR]: Use Obsidian subfolder as root #9

Closed
todistantlands opened this issue Jun 18, 2022 · 3 comments
Closed

[FR]: Use Obsidian subfolder as root #9

todistantlands opened this issue Jun 18, 2022 · 3 comments
Assignees
Labels
✨ Enhancement New feature or request

Comments

@todistantlands
Copy link

todistantlands commented Jun 18, 2022

What part of the workflow do you want to improve ?

Obsidian plugin

Is your feature related to a problem ?

I would like to sync a subfolder of my Obsidian vault to the root of my git repo using the Obsidian Path folder reception setting. Because the Obsidian path is mapped relative to the vault root folder (eg. vault/), anything in the subfolder (eg. vault/sub/) gets uploaded to repo/sub/.

What solution do you want to see ?

Option in in plugin config to designate a subfolder of the vault for syncing to repo.

So for example you could plug in in vault/sub/ as the base folder for sync. That way the sync flow would be vault/sub/ --> repo/ and vault/sub/a/ --> repo/a/

Describe the alternative you've considered

I have looked into creating a separate vault specifically for syncing to the repo but moving files from other vaults into the sync one creates extra steps I would like to remove.

OS

Windows

Anything else?

No response

EDIT: I have looked into this a little further, it looks like there may also be underlying issues with the Obsidian Path option. If you leave "default folder" blank for that setting it fails to sync entirely...

@todistantlands todistantlands added the ✨ Enhancement New feature or request label Jun 18, 2022
@Mara-Li
Copy link
Member

Mara-Li commented Jun 18, 2022

So, if I understand well, the idea is to "remove" the root path of your vault in the repo path ?
I can add a new setting where you put the path you want to "remove" in the new path.

For example :

remove path: [text]
Put the path you want to remove for reception

But It will be strange if you use another folder. Why don't use the frontmatter options ? There are more options and you can use meta-edit to add the category. Note that metaedit allow bunch editing metadata if you have a folder note!

@todistantlands
Copy link
Author

Thank you, this is perfect! :)

@Mara-Li
Copy link
Member

Mara-Li commented Jun 19, 2022

Yeay! In fact, it's usefull in my workflow for update the docs xD

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

2 participants