Skip to content
New issue

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

How can I set the default text size #116

Open
7seven7lst opened this issue Aug 24, 2019 · 2 comments
Open

How can I set the default text size #116

7seven7lst opened this issue Aug 24, 2019 · 2 comments

Comments

@7seven7lst
Copy link

I am trying to put a default plain text message because I feel this can be a good default case( user doesn't always have to supply markdown). How do I set the default text fontSize? I've tried all those and non seem to work:

text: {
    color: '#555555',
    fontSize:18,
  },
  paragraph: {
    fontSize:18,
  },
  plainText: {
    fontSize:18,
  },
  view: {
    fontSize: 18,
  },
  inlineCode: {
    fontSize: 18
  },
  heading6: {
    fontSize:18
  },
  default: {
    fontSize:18
  }
@IronTony
Copy link

It seems no styles work

@kopax
Copy link

kopax commented Jun 10, 2020

I have lost my font family by using this plugin, how can I restore it?

I have tried:

        <Markdown
          style={{
            view: {
              fontFamily: 'Roboto',
            },
          }}
          whitelist={['link', 'url', 'list']}
        >

it does not help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants