MegaSack DRAW - This year's winner is user - rgwb
We will be in touch
Topic starter
How do I put fixed-point code with proper indentation in to forum posts?
Just using "code" doesn't do the indentation:
[code]
if (foo)
bar(42);
[/code]
And is there any way to get language-specific syntax highlighting?
Posted : 14/01/2015 8:49 am
That's all included in the new version of the forum
Posted : 14/01/2015 8:50 am
If you wrap the code in backticks instead of < code> blocks it indents fine.
Syntax highlighting though... 😆
#include <stdio.h>
int main() {
int i;
for (i = 0; i < 10; i++) {
printf("Hello oldnpastit\n");
}
return 0;
}
Posted : 14/01/2015 8:53 am

