Pop this script into your browser’s navigation bar and code away in the browser with syntax highlighting for multiple languages.
Source: jdkanani Gist on GitHub with language + theme modifications
Copy the script above, paste it into your browser navigation bar, and hit Enter/Return. Through the power of Ace, your browser will turn into a text editor with automatic line numbers, code folding, and syntax highlighting (in this case for Python).
Browser Screenshot with a Python Script
Customize Your Language
Ace supports over 60 languages. To change the syntax highlighter in the script, modify the line:
Customize Your Editor Theme
The Ace editor supports over 20 different text editor themes too. To change the editor theme, modify the line:
with any of the supported themes. Here is how you switch to Monokai:
Kudos to jdkanani for this script. Head over to his repository and show him some love if you use it.