tokenshift / obsidian-page-gallery

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

FR: expose view names #59

Open Cammagno opened 11 months ago

Cammagno commented 11 months ago

It could be useful if the view name could be exposed as an attribute value for the page-gallery__views-header-item so that could be easily addressed by CSS. As it is now, being the view name only in the content text, the only way to address specific buttons (if I'm not missing something) is to use the nth-child(): it works, but it's boring and less flexible (I can't, for example, assign the same formatting to all the buttons whose view names contain a given word).

TIA!