Closed alexispurslane closed 10 months ago
I'm displaying some Markdown text like so:
Material3RichText { Markdown(content = message.content) }
and one thing I'd really like to be able to do is change the font size of the default text when it's displayed. Is there a way to do this? I looked at the RichTextStyle stuff, but it seems focused on everything but normal text.
Answer to my own question: use ProvideTextStyle with TextStyle(fontSize=<foo>.dp)
ProvideTextStyle
TextStyle(fontSize=<foo>.dp)
I'm displaying some Markdown text like so:
and one thing I'd really like to be able to do is change the font size of the default text when it's displayed. Is there a way to do this? I looked at the RichTextStyle stuff, but it seems focused on everything but normal text.