Thank you, I understand that, but it’s not the problem I’m trying to solve - I’m frequently using image gallery custom css snippet which uses custom metadata gallery to make series of image a gallery:
And I want to have pre-made gallery callout, with the metadata already specified.
It works, but the color and icon of the callout are reverted to default with any specified metadata:
What was I trying to indicate in my previous post is that I’m fairly certain .callout[data-callout="test|gallery"] is not going to work. The attribute/alt/metadata section needs to be written differently.
In any event, with the MCL gallery snippet enabled and adding this in my own snippet file:
Be sure to reload Obsidian or close-open the note when making callout icon changes. They don’t show immediately when saving the .css file like changing the color does.