Home > Article > Web Front-end > How to use SyntaxHighlighter code to add color_javascript skills
It can highlight various program source code syntax in web pages. Supports various currently popular programming languages: C#, CSS, C, Delphi, Java, JavaScript, PHP, Python, Ruby, SQL, Visual Basic, XML / HTML
Download address: http://www. dreamprojections.com/syntaxhighlighter/
or http://code.google.com/p/syntaxhighlighter/
Demo address: http://www.dreamprojections.com/syntaxhighlighter/Tests/PHP.html
The core of this tool is based on javascript, and it is very simple to use:
1. Assume that the web page file test.htm is stored in a directory, unzip dp.SyntaxHighlighter, and copy the Scripts folder therein and styles folder, make sure it is in the same directory as test.html.
2. Insert the following code between