I’m trying to remove the strike-through on the checklists only within the pages with cssclass: "recipe" in the YAML. Based on what I’ve seen elsewhere in this forum I’m doing it correctly but for some reason adding .recipe seems to break everything. If anyone has some suggestions on how to get this to work it would be hugely appreciated.
space is not allowed between the cssclass and .markdown-preview-view/.markdown-source-view.mod-cm6. As soon as you use those as your first selectors in your css snippet you have to remove that space inbetween. So this should work:
The thing is that when you do .recipe .markdown-source-view, it says look for an element of class recipe, and then within that element look for an element of class markdown-source-view. These two classes are however on the same element, and therefore you need to remove the space to make it look for an element having both classes at the same time.