Benjamin-Dobell / react-native-markdown-view

MarkdownView for React Native
MIT License
190 stars 77 forks source link

Setting default font family #57

Open colinbes opened 2 years ago

colinbes commented 2 years ago

I am trying to understand best way to set default font family for both IOS and Android.

Out the box I get error message that Courier font is not found.

I saw comment on setting styles with comment on reviews styles.js for example of what could be overridden - will I need to create two different configs (one for IOS and one for Android) and then assign appropriately at startup?

It looks like 'courier' is hardcoded into styles.js and there is not a way to set font family in one place.

I don't see any issues raised so I am assumed that I am missing some salient point.