my extensions for moonlight
runs a heuristic on CJK characters to properly associate language information,
fixing issues where i.e. Simplified Chinese is incorrectly rendered due to
client language being set ja-JP
.
adds KaTeX-based math rendering via \\(
and \\)
, rendered to normal users as \( and \)
q.v. Are \( and \) preferable to dollar signs for math mode?
adds Ruby (Furigana) support via {{rb(rt)}}
{{猫(ねこ)}}を{{拾(ひろ)う}}
→ 猫を拾う
{{我(wǒ)讲(jiǎng)日(rì)语(yǔ)}}
→ 我讲日语