Hi there. I’ve been using a lot of ✘ and 🗸 in my vault and I’m wondering if it’s possible to universally change their colours + bold the check mark using CSS.
Right now I’m manually adding the changes in HTML. Can’t figure out how to add it to a snippet (I’m not well-versed in CSS)
Basically you need to use some custom action to insert your styled symbols, you cannot just type the symbol and then target it using CSS. What method do you currently use to produce ✘ and 🗸?
In addition you can target specific tags like #gardening using CSS. See this:
When you change the CSS, all instances of that span class will change. The span-x and span-bold can be changed to whatever. A bit easier. How to CSS snippets if needed.
Two plugins using regex are also options if you are willing to put the time in.
As indicated by the other post you’ll most likely need to switch your syntax, so maybe you should use the opportunity to use tags then. Doing that would allow you to style them just as you please, even replace the tag with a symbol/icon if you’d like to.
It also remove the html from your markdown, and potentially be easier to read as you focus on the text, and let the visual representation be just that.
Thanks everyone for your quick feedback and great solutions!
I’ll probably end up using the solution Ariehen suggested with the span classes, so everything is consistent across the vault.
Won’t be using tags. I am creating a vault with teaching material to use with students during online lessons and the check marks and Xs just represent examples that are good vs ones that are not. Pretty basic, but I don’t think using tags will be a good idea.