Reputation: 1398
I'm trying to create a text that contains small images in the same line but this doesn't seem to be possible, at least using Markup. I get a nice preview but then the published version shows images in a new line.
This is the text in my post:
When **p** is true and **q** is true, **p ![and](/assets/and.jpg) q** is also true.
which in the preview shows as I expect it to:
but then, once published it shows like this:
Is there a way to get the images to be displayed as in the preview?
Upvotes: 1
Views: 210
Reputation: 12592
Simply add some css:
img {display: inline!important;}
Better is to NOT use !important, but use the proper specificity. As you are not showing any context, the proper selectors are impossible to guess.
Upvotes: 1