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

text color overrides link or mailTo color

Open ckknight opened this issue 7 years ago • 3 comments

Despite setting the link and mailTo color to something else, because inner text is rendered within a link, the color of the link itself is never represented.

ckknight avatar Jan 31 '18 17:01 ckknight

My links also are rendered with default text color. Even when the text color is not specified in styles. Setting values for mailTo and link doesn't have any effect atm (v1.1.0)

jannikbuschke avatar Nov 25 '18 19:11 jannikbuschke

Any update on this?

Sevellion avatar Sep 30 '20 08:09 Sevellion

I solved just overwriting the text style removing the color that was settled on it and setting the view style with the default color. Then i settled the link color like this:

<Markdown styles={{
  text: { fontSize: 24 },
  view: { color: '#000000' },
  link: { color: '#0000ff' }
}}>
  [github](https://github.com)
</Markdown>;

igorjacauna avatar Dec 01 '21 13:12 igorjacauna