react-native-simple-markdown icon indicating copy to clipboard operation
react-native-simple-markdown copied to clipboard

How can I set the default text size

Open 7seven7lst opened this issue 6 years ago • 2 comments

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
  }

7seven7lst avatar Aug 24 '19 05:08 7seven7lst

It seems no styles work

IronTony avatar May 16 '20 07:05 IronTony

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

kopax avatar Jun 10 '20 15:06 kopax