As a developer you may want to share your code on your website or blog (just like us!). There are many options out there for you depending on your chosen programming language. Whether it is a HTML page or runs on PHP, Ruby, Python, ASP, there is always a suitable syntax highlighter for you.
Written in jQuery
The jQuery Plugin for Highlighting Code.
Is here to help a developer/coder to post code snippets online with ease and have it look pretty. It’s 100% Java Script based and it doesn’t care what you have on your server.
3. SyntaxHighlighter 3.0.83
Highlights syntax in code examples on blogs, forums and in fact on any web pages. It’s very easy to use because it works automatically: finds blocks of code, detects a language, and highlights it.
Written in MooTools
Is a free syntax highlighting class developed with MooTools. It was created with the MooTools developer in mind and takes advantage of many of the Framework’s features.
Written in PHP
8. GeSHi – Generic Syntax Highlighter
GeSHi started as an idea to create a generic syntax highlighter for the phpBB forum system, but has been generalised to this project. GeSHi aims to be a simple but powerful highlighting class, with the following goals:
> Support for a wide range of popular languages
> Easy to add a new language for highlighting
> Highly customisable output formats
Written in Ruby
Is a syntax highlighting engine based on Textpow. Since it uses Textmate syntax files, it offers out of the box syntax highlighting for more than 50 languages and 20 themes.
Written in Python
It is a generic syntax highlighter for general use in all kinds of software such as forum systems, wikis or other applications that need to prettify source code.
Sam Deering has 15+ years of programming and website development experience. He was a website consultant at Console, ABC News, Flight Centre, Sapient Nitro, and the QLD Government and runs a tech blog with over 1 million views per month. Currently, Sam is the Founder of Crypto News, Australia.
Jump Start Git, 2nd Edition
Visual Studio Code: End-to-End Editing and Debugging Tools for Web Developers
Form Design Patterns