r/C_Programming • u/Mindstealth • Jul 10 '16
Question Syntax highlighting on Reddit
Considering how much code gets posted here as plain text, wouldn't it be great if we could have a way to define what part of text is code and have it automatically highlighted? Or is this not possible on Reddit?
28
Upvotes
View all comments
Show parent comment
1
u/geocar Jul 11 '16
Give it a shot. A few people I know really like the two-tone (just comments) approach. Here's another example and he made some vimscript/plugin that works for him that you might like.
Be careful though, after six months or so, you'll probably like it, and if you're anything like anyone else I know, you'll actually dislike the syntax highlighting other people use. Be prepared for this fact if you ever vote against syntax highlighting, and the shitstorm of cuntitude that will follow.