Skip to content

Conversation

abirchall
Copy link

This improves the rendering of code (code_inline, code code_block and fence) to use a monospace font.
Fonts that are installed by default on iOS / Android are chosen.

before (iOS):
code_monospace_ios_before

after (iOS):
code_monospace_ios_after

before (Android):
code_monospace_android_before

after (Android):
code_monospace_android_after

This improves the rendering of code (code_inline, code code_block and fence) to use a monospace font.
Fonts that are installed by default on iOS / Android are chosen.

before (iOS):
<img width="436" alt="code_monospace_ios_before" src="https://user-images.githubusercontent.com/456610/89115794-27910680-d441-11ea-896c-49ab714dcf68.png">

after (iOS):
<img width="432" alt="code_monospace_ios_after" src="https://user-images.githubusercontent.com/456610/89115797-2bbd2400-d441-11ea-8298-c4c902f515f8.png">

before (Android):
<img width="358" alt="code_monospace_android_before" src="https://user-images.githubusercontent.com/456610/89115800-2f50ab00-d441-11ea-8a26-6af850a697df.png">

after (Android):
<img width="355" alt="code_monospace_android_after" src="https://user-images.githubusercontent.com/456610/89115801-337cc880-d441-11ea-85b4-1529dfdf1c81.png">
@iamacup iamacup merged commit 3348b13 into iamacup:master Oct 16, 2020
@abirchall abirchall deleted the style_code_monospace branch October 24, 2020 09:01
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

Successfully merging this pull request may close these issues.

2 participants