Add inline image in text

I’d like to add small inline image, directly in text. If I add tag directly in .md file, it renders as separate paragraph:

first part of text

image

rest of text

But I’d like to have it like this: “some text IMAGE and some text again”.

How (and if) can I achieve that in Zola?

By default, HTML renders images inline unless you add line breaks.

The issue arose with the theme’s CSS, which makes all images display: block to center them. To solve it, I’ve added a new CSS class for images to allow displaying them inline. (link to discussion on the theme’s repo)

1 Like

Thank you very much, your commit solved my problem :slight_smile: