I agree if it was always code, but the textarea isn't always for code.
Sure, but it is sometimes. We are a code review tool, after all, so I'd guess it's actually pretty often. And code always looks better with a fixed width font.
P.S. Although I work with code too I prefer regular font in comment area. It feels more human than typing something monospace which will be rendered as regular anyway in most cases
@skyruler for the regular font. It looks prettier, and while it does look weird with code, the textarea is pretty bad for code editing anyway, since we don’t have auto indentation. I always write code in an editor and then copy paste, which is of course still possible now.
I have this crazy idea of using a contenteditablediv instead of a textarea for our Markdown inputs, and automatically detecting code block boundaries in the entered text, and automatically wrapping them in a div with a monospace font while you're typing. We could do the same thing with things like _ and * to italicize and bold the text between the tags. It would basically be syntax highlighting inside a textarea like on https://jsbin.com/, but specifically for GitLab Flavored Markdown.
Good idea @DouweM. contentedible is notoriously rough to deal with. But if you want we can check out stackoverflows editor. It's open source and does markdown really really well. I believe it's here https://github.com/derobins/wmd
@jschatz1 That doesn't appear to have the WYSIWYG quality I was hoping for, as far as I can see.
@connorshea If you are volunteering to clone me first, maybe we can get my clone to do it with all the free time he'll have. :) I may hack away at it some day, I like the challenge of taming contenteditable :D