I’m very new to Obsidian and CSS Snippets. What I’m trying to do is basically this:
[!customcallout | customword ]
I want to set on my CSS Snippet a set of words that I can insert in the markdown. And have a certain property change based on that.
In my case it’s background color. So have options such as blue, black, purple, etc…
And depending on what I write there it picks the hexcode from the list.
Things I have tried
Just about anything… ChatGPT and I are having a relationship crisis.
I get that the [data-callout=“customcallout”] is interpreting the markdown of [!customcallout]. But where is customword? Where is it pulling that info from?