Syntax highlighting

Finally, I have a working syntax highlighter. It uses a JavaScript "backend" which transforms the source code on the fly on the client side (you can find it here). It should work with most modern browsers. Example code:

if __name__ == '__main__':
    print 'Hello World!'
#include <iostream>
int main (int argc, char* argv[])
    std::cout << "Hello, world!" << std::endl;
    /* A standard conformant C++ compiler will add the return 0 on its own */


Comments powered by Disqus