Hello, I’m trying to right-align and center some images in my markdown blog articles, so according to the doc I added classes like “float-right” and “image-center” to my site scss/css and then in an item.md I have:
![Difference]jmt2_diff.png?classes=float-right)
(Except I actually have a ( after [Difference], but doing so in the forum here replaces part of my code with a camera icon.)
The problem is that in the HTML output, it keeps the “classes” part as a query string on the processed image, instead of assigning it to a class attribute on the img element:
<img style="" alt="Difference" src="/images/e/5/d/1/b/e5d1ba21dd307f6df57e59f597a72265aaf0fb74-jmt2di ff.png?classes=float-right">
Any ideas?
I’d tell you which version of Grav I have (it’s from a few months ago i think) but not sure where to find that.
Thanks.