We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Given the following:
I would expect all text to centre align. However, in my Markdown editor, adding this:
Results in the component rendering this:
The second paragraph should be centre aligned shouldn't it?
PS. I have tried adding paragraph: {textAlign: "center"} to my Markdown styles but that didn't help.
paragraph: {textAlign: "center"}
Thanks
The text was updated successfully, but these errors were encountered:
@g-hamilton Hi I was facing some issues trying to center some text too, and this is how I fixed:
<Markdown style={{ body: { ...Typography.FontStyle.SUBHEADING, color: Colors.TextPlaceholder, includeFontPadding: false, }, textgroup: { textAlign: 'center', }, strong: { color: Colors.Text, }, }} > {children} </Markdown>
I added the textgroup style property
textgroup
Sorry, something went wrong.
Thanks @jtvargas very helpful 👍🏻
No branches or pull requests
Given the following:
I would expect all text to centre align. However, in my Markdown editor, adding this:
Results in the component rendering this:
The second paragraph should be centre aligned shouldn't it?
PS. I have tried adding
paragraph: {textAlign: "center"}
to my Markdown styles but that didn't help.Thanks
The text was updated successfully, but these errors were encountered: