Markdown vertical

hello everyone, maybe I’m missing something; I can’t find how to vertically align the text in a Markdown.

There are many ways to do this, but something I just tested and I know works is to add

display: flex

and

align-items: center // or flex-end, flex-start, etc

to your Markdown component’s style object.

image

You can also add padding, margins, and whatever else you need to style the Markdown exactly how you want it.

thanks @YF129701 … but like that i loose the horizontal centering… i think i go crazy today … do you have other interesting “goodies”?

I add also “justifyContent” for centering also in horizontal …

Yes I was going to add that but you only asked for vertical alignment… Looks like you figured it out :+1: