Syntax highlighting (11)

1 Name: Anonymous : 2008-10-15 03:39 ID:PrIMT2jy [Del]

Something that has been on the list for aeons finally got implemented:

/* -*- c -*- */
#include <stdio.h>
int main(int argc, char **argv)
{
int n;
for (n = 0; n < 5; n++)
printf("dongs\n");
return 0;
}

This uses a real syntax parser (i.e., not the javascript crap that 4chan uses on /prog/), so you have to specify the language inside -*- markers for it to work, at least for now. Heuristics for common lanugages might be a future possibility.

Name: Link:
Spam trap (don't touch):