Replies: 3 comments
-
|
@ykla, thanks for writing in and for being a part of the GitHub Mobile community. Can you elaborate a bit more on where you're seeing this behavior? Is it across the app? or in specific views, such as comments, README etc? Is this on iOS or Android? |
Beta Was this translation helpful? Give feedback.
-
|
Yeah, this happens mostly on mobile devices, not desktop. Most mobile Chinese system fonts (like PingFang SC on iOS or Noto Sans CJK on Android) don’t include true bold weights, so Markdown bold (你好) won’t visually change the text. On desktop, browsers can fake bolding more easily, but on mobile, the system font renderer skips it to avoid distortion. If you want bold Chinese text on mobile, try: Using a custom web font that includes bold weights (like Noto Sans CJK Bold). Or wrap it in a span with CSS forcing higher font-weight: 你好世界! So yeah — not a Markdown bug, just a font rendering limitation on mobile. |
Beta Was this translation helpful? Give feedback.
-
|
Hey! This is actually a pretty common issue with Chinese text on mobile, and it's not really a bug, so just how fonts work on phones. So basically, the Chinese fonts that come with iOS (PingFang SC) and Android (Noto Sans CJK) don't actually have bold versions built into them. When you try to make text bold with 你好, your phone looks for a bold weight of that font... and can't find it. Honestly, there's not a perfect fix since it's a system-level thing, but here are some options: Try other formatting – Sometimes italic, underline, or just using quotation marks works better for emphasis html 你好世界! By the way it's not GitHub's fault or a Markdown problem, it's just that mobile Chinese fonts don't include bold versions, so the bold formatting literally has nothing to work with. Desktop browsers can work around it better, but phones don't bother. Hope that helps clarify things! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
No bold font support in Chinese, such as 你好 or 你好世界!
The Bold font not work for Chinese
Beta Was this translation helpful? Give feedback.
All reactions