To post your source code
#include <stdio.h>
int main() {
printf("Hello, World!\n");
}
you first have to htmlencode it (e.g. using online services) obtaining:
#include <stdio.h>
int main() {
printf("Hello, World!\n");
}
Then enclose it in the following pre tag:
<pre class="EnlighterJSRAW" data-enlighter-language="c" data-enlighter-linenumbers="true">
#include <stdio.h>
int main() {
printf("Hello, World!\n");
}
</pre>
It will finally appear as:
#include <stdio.h>
int main() {
printf("Hello, World!\n");
}
NOTE: change "c" into the target source code language (es. "java").