I found a bug report about this: Code syntaxhighlighting does not work in "About Me"
The answer by a staff member says:
If you want to make a case for why we should, a feature request would be fine.
I have searched for such a feature-request, but I did not find any, so I am creating one myself.
Currently, if we put this in our profile and click save:
```c
#include <stdio.h>
int main(void) {
return puts("Hello, World!") < 0;
}
```
We will see this:
#include <stdio.h>
int main(void) {
return puts("Hello, World!") < 0;
}
Instead of this:
#include <stdio.h>
int main(void) {
return puts("Hello, World!") < 0;
}
Profiles should support syntax highlighting for the same reasons posts should. They improve readability. Especially for code snippets, people want to show off by putting them in their profile. We should be able to effectively show readable code snippets in our profile and syntax highlighting would improve that. I thought our profile was our own, to put whatever we want in there (within reason), but we cannot even have syntax-highlighted code there.
Please support colorful code in profiles, unless there is some pressing reason not to, in which case I would like to know what that reason is.