JavaScript - Syntax Highlighting
Jump to navigation
Jump to search
About
NOTE: This page is a daughter page of: JavaScript
Any good webpage with code should do syntax highlighting! There are many open-source libraries for doing this.... some of them work for text areas, some just for chunks of static text.
There's a nice list here:
Here's some pages I've create which might help you get started:
Child Pages
Related/Child Pages:
- JavaScript - Text Areas with Code Syntax Highlighting - links to some libraries for syntax highlighting the contents of an editable area of text.
- JavaScript - Syntax Highlighting - CodeMirror Hello World - I played with [CodeMirror] syntax highlighter and made a very quick hello world example which load the SQL module into an existing textarea and you can resize the area nicely.
- JavaScript - Syntax Highlighting - Customizable TextArea Words - Based on highlight-within-textarea v2 by Will Boyd - modified to let you specify custom words more easily .