Have you ever wondered how websites like jsfiddle.net are able to make specific attributes, such as those in the CSS section, different colors similar to a modern text editor?
For instance, notice how the html tag is a contrasting color compared to the braces in the CSS section from the image above.
I am assuming this is achieved dynamically utilizing JavaScript. Does anyone know of a script that can automatically and instantly change the color of certain words to match a pre-defined color scheme?