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

Content deleted Content added
edit bar
m typo
Line 1:
<noinclude>{{Wikipedia how-to}}</noinclude><includeonly><div style="float:right; padding:0 1em;">{{navbar|Mxt/User CSS for a monospaced coding font|plain=y}}</div></includeonly>
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]]</samp> page, replacing <kbd>"Roboto Mono"</kbd> with whatever your preferred coding font is (Roboto Mono was picked as a freely-available coding font [https://fonts.google.com/specimen/Roboto+Mono] for this example).