I am currently using images as bullet points for my Github Pages (markdown files), following the instructions outlined here. My goal now is to vertically center the text next to the image. This is demonstrated here (cf. lower third of page), however, I am only able to achieve this with inline css and have been unsuccessful in making it work.
This is what I have so far:
<ul style="list-style-image: url('/assets/images/thumb.jpg'); padding-left: 120px;">
<li>I’m writing a long list item 1 so you can see what happens when the text wraps across multiple lines</li>
</ul>
which gives me https://i.sstatic.net/3HVLJ.png
but ideally, I would like it to look like: https://i.sstatic.net/7ZM4l.png
I have already attempted setting the line height, but this leads to issues when there's a line break, as seen in this case. I have read about flexbox, but I am unsure how to implement it inline. Any assistance would be greatly appreciated!
I want to reiterate: IT MUST BE INLINE!!