tokenshift / obsidian-page-gallery

Generates a gallery based on selected page contents.
MIT License
68 stars 2 forks source link

Importing a Specific Folder Path #72

Closed leelax22 closed 3 months ago

leelax22 commented 3 months ago

Of course, it should be done, but strangely, it didn't work, so I'm posting it.

I tried to get the notes in the folder by typing from "folder path" as if I was querying it in the database, but I couldn't get anything.

Is this function not implemented by any chance?

tokenshift commented 3 months ago

The from option works. The config is in YAML format; see the example here: https://github.com/tokenshift/obsidian-page-gallery?tab=readme-ov-file#usage

For your example, you'd use something like:

from: '"folder path"'
leelax22 commented 3 months ago

Thank you. I understood the confusion. from: '"Images" AND #yosemite' I thought you were using '' because of the AND option. However, '' is also required when applying only the folder path. It works. Thank you!