lundi 5 juillet 2021

How do I change the color of individual part of the code in a web document

The following is how code looks on stack overflow:

float foo(int a, float b, char c){
    float d = a*b;
    printf("%c", c);
    return d;
}

Different parts of the code have different colors for they are different types of things. I wish to achieve something similar. How does one achieve this?




Aucun commentaire:

Enregistrer un commentaire