SHJS is a JavaScript program which highlights source code passages in HTML documents. Documents using SHJS are highlighted on the client side by the web browser. SHJS uses language definitions from GNU Source-highlight. This gives SHJS the ability to highlight source code written in many different languages:
SHJS comes with themes taken from the Highlight program. SHJS is distributed under the GNU General Public License version 3. |
←
→
#include <iostream> using namespace std; int main(int argc, char ** argv) { cout << "Hello world" << endl; return 0; } | |||
Copyright © 2007, 2008 gnombat@users.sourceforge.net |