Home > Article > Web Front-end > js dynamically colorizes code to display line number_javascript skills
This example uses a Javascript plug-in to dynamically color the code on the browser client and display the line number.
Javascript code coloring example effect: http://www.keleyi.com/keleyi/phtml/codecolor/a/ index.htm
The following is the code:
<br>function KeleyiColor()<br>{<br>document.write ('keleyi.com');<br>return "hi!";<br>}<br>