Template:Mxt/User CSS for a monospaced coding font: Difference between revisions

Content deleted Content added
note
m link cleanup
Line 2:
You can consistently use a monospaced font with well-designed characters for coding (e.g., to distinguish clearly between <code>l</code>, <code>1</code>, and <code>I</code>).
 
Add something like one of the code snippets below into your {{samp|[[Special:MyPage/common.css]]}} page, replacing {{kbd|"Roboto Mono"}} with whatever your preferred coding font is ([https://fonts.google.com/specimen/Roboto+Mono Roboto Mono] was picked as a freely-available coding font [https://fonts.google.com/specimen/Roboto+Mono] for this example).
 
This code will do the following: