Open david-yz-liu opened 10 years ago
How is Monaco? Personally I am also in favor of the original default (Courier). Here they are for comparison:
Here's some more you can have a look at: http://hivelogic.com/articles/top-10-programming-fonts Personally, I don't prefer fonts whose "g" letters have the circles (e.g. Consolas) because they look serif-like, which I feel doesn't suit the code quite well. Any you prefer?
I also added a yellow highlight to the code elements.
I dislike Courier. I'm fine with either Consolas or Inconsolata.
Also, we need to include the font ourselves, and not rely on system fonts.
Also, I don't like the yellow background.
For inline, I'd prefer a grey background like Github
. For code blocks, just a border around the code would be nice.
They're wrapped in a pre
element.
On Fri, Aug 1, 2014 at 12:47 PM, Deyu Wang notifications@github.com wrote:
Is there anything in the html to distinguish between inline code and code blocks?
— Reply to this email directly or view it on GitHub https://github.com/pencilz/csc236-site/issues/1#issuecomment-50907298.
Consola.ttf font added. Inline code style added. Still working on code block.
Done
For
<code>
elements