I don’t know if my question is too silly, but I would like to know how to make a snippet work in live preview mode.
I’m trying to make this snippet I found on the internet, which centers images, work in live preview mode:
.centerImg img {
display: block;
margin: 0px auto;
}
In a note I put a code like this:
<span class='centerImg'>![[image.png|200]]</span>
But it only works in reading mode, otherwise the only thing I see is “![[image.png|200]]”.