Announcement

Collapse
No announcement yet.

Make default font for code blocks mono-space

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Make default font for code blocks mono-space

    The intention of code blocks is to show code.

    Most code looks better in a mono-space font. Especially when posting command line options, eg:
    Code:
    sudo mount /opt
    When in proportional font it is hard to see where the space is with respect to the /, especially for a newbie.
    Blog: Tasty Tidbits

    #2
    Re: Make default font for code blocks mono-space

    Which one did you have in mind. I would think courier or courier new would work. I just want to make sure everyone has those fonts though. Those fonts are the most common on unix, mac, and windows machines.

    Comment


      #3
      Re: Make default font for code blocks mono-space

      I think that courier-new is fairly well distributed.
      Blog: Tasty Tidbits

      Comment

      Working...
      X