Commit 12b6345
committed
Use monospace font for code (inline, block & fence)
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">1 parent 773c723 commit 12b6345
1 file changed
+24
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
136 | 144 | | |
137 | 145 | | |
138 | 146 | | |
139 | 147 | | |
140 | 148 | | |
141 | 149 | | |
142 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
143 | 159 | | |
144 | 160 | | |
145 | 161 | | |
146 | 162 | | |
147 | 163 | | |
148 | 164 | | |
149 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
150 | 174 | | |
151 | 175 | | |
152 | 176 | | |
| |||
0 commit comments