tokenshift / obsidian-page-gallery

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

Support for Notes gallery #28

Closed SalahAdDin closed 1 year ago

SalahAdDin commented 1 year ago

We are planning to create a gallery book for our vault, we were thinking about this plugin but it seems it only supports images, are you thinking of adding full support for notes?

Thank you.

tokenshift commented 1 year ago

I wasn't planning to, the intent was just to show images pulled from the listed pages. I'll keep this issue open until I get a chance to experiment w/ displaying other page content, but it likely won't be any time soon.

tokenshift commented 1 year ago

For a bit more information: are you looking for something to display notes Google Keep-style, or like a Notion gallery falls back to displaying text if the pages don't have any images in them?

SalahAdDin commented 1 year ago

For a bit more information: are you looking for something to display notes Google Keep-style, or like a Notion gallery falls back to displaying text if the pages don't have any images in them?

Yeah, that Notion feature.

tokenshift commented 1 year ago

@SalahAdDin I've got a sort-of working prototype that displays page content instead of just images, depending on what mode you select. It's not available in the published page-gallery plugin yet (I want to do more testing before I push it out), but I have it in a forked repo at https://github.com/tokenshift/obsidian-page-gallery-notes-prototype; if you use BRAT, you can install the prototype instead of the published plugin to see if it works for what you're trying to do.

It adds a mode option to the page-gallery config, which can be set to:

tokenshift commented 1 year ago

This has now been published as version 0.6.0.