I'm building a web based code editor. I'm currently using
font-family : "Courier New", Courier, monospace
as the rule for both line numbers and the source code.
Taken from Stack Overflow's CSS:
code { font-family: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif; }
You can be sure it's been tested :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With