Markdown Visualization: changing the position of an image

Hello elastic community!

I am facing a problem with the markdown visualization. I have an image to display but I want to display it in the centre of the panel or on the upper right corner of the panel. Below the two screenshots.
Is there any way? Thank you in advance!!

Now

What I prefer

Is there any way to do this?

There isn't currently a way to do this with the markdown visualization itself, however, you can do it with TSVB markdown, which has the added ability to provide custom CSS.

Here's an example from our demo environment of a TSVB markdown visualization with custom CSS that centers an image as you describe.

Thank you very much @lukeelmers for your help! I will try it with TSVB Visualization then.