Share 15 code syntax coloring ers for Beautifying source code

Source: Internet
Author: User

Syntax highlighting is used by the text editor to display text, especially the source code. Different colors and fonts are used for display based on different categories. This function helps you to write structured languages, such as programming languages and Markup languages. syntax error display for these languages is different. Syntax highlighting does not affect the meaning of the text itself, and can well meet people's reading habits.

Syntax highlighting also helps developers quickly find errors in their programs. For example, most editors highlight string constants in different colors. Therefore, it is easy to find whether delimiters are omitted because they are different from other text colors.

There are now a variety of syntax highlighting tools for formatting languages and highlighting based on different programming languages. Whether it is an HTML page, PHP, Ruby, Python, or ASP. In this article, we will introduce 15 of the best code syntax highlighting tools to help you present code snippets in a more fascinating way. Enjoy!

Prism

Prism is a lightweight and scalable syntax coloring tool that complies with Web standards. It is only 1.5KB after compression and is very easy to use. You only need to insert a CSS and JS file.

GeSHi

GeSHi (Generic Syntax Highlighter) is used to highlight various source codes on the HTML page. Supports more than 60 languages: PHP, HTML, C, Java, Java5, C #, Actionscript, Delphi, C ++, Groovy, Javascript, Perl, PL/SQL, Ruby, Python, SQL, XML, etc, it is easy to integrate into systems such as Dokuwiki, Mambo, phpBB, WordPress, and WikkaWiki.



Rainbow

Rainbow is a lightweight JavaScript library that coloring code syntax. It is only 1.4kb in size. Easy to use, scalable, and style display completely through CSS. Supports custom color and font for CSS themes.


Highlight. js

Highlight. js is a JS project used to color and display various sample source code syntaxes on any web page. Supports 26 code formatting styles, 54 Languages:-1C, AVR Assembler, Apache, Axapta, Bash, C #, C ++, CSS, and DOS. bat, Delphi, Django, HTML, XML, Ini, Java, Javascript, Lisp, MEL (Maya Embedded Language), PHP, Perl, Python, Python profile, RenderMan (RIB, RSL), Ruby, SQL, Smalltalk, VBScript, and more.



Quick Highlighter

This is an online code highlighting tool that provides highlighting in multiple programming languages. You can use several options to highlight different types of code.



Google Code pretworkflow

This is a JavaScript module and CSS file that allows source code syntax highlighting in an HTML file. It supports embedded links and row numbers in the code. It is widely used and supports cross-browser. It was unanimously recognized by code.google.com and stackoverflow.com.



Snippet

Snippet is a jQuery syntax highlighting plug-in built in the SHJS script. Snippet provides a quick and simple way to highlight HTML document code. It supports 15 popular languages and 39 unique syntax highlighting styles.



CodePress

CodePress is a web-based source code editor that can highlight code in real time when coding JavaScriptis code in a browser.



JavaScript Syntax Highlighter

JavaScript Syntax Highlighter is a client code highlighting tool that supports HTML, CSS, JavaScript, PHP, SQL, HTTP and SMTP protocols, php. ini and Apache configuration, supports all mainstream browsers: Internet Explorer, Firefox, Opera and Google Chrome. JUSH is also a jQuery and WordPress plugin.



Chili
Chili is a jQuery code highlighting plug-in that allows you to quickly highlight code. It is easy to set up, completely customized, and has complete documentation.
Supported languages include: C ++, C #, CSS, Delphi, Java, JavaScript, LotusScript, MySQL, PHP, and XHTM. Supported browsers include Internet Explorer, Firefox, opera and Safari.



Pygments

Pygments is a general code syntax highlighting tool. Many common software uses this tool, such as the Forum system, wikis, or other applications that require code beautification. Pygments supports a wide range of programming languages and a large number of output formats, including HTML, RTF, LaTeX, and ANSI sequences.



Ultraviolet

Ultraviolet is a code syntax highlighting Engine Based on Textpow. Since the Textmate syntax highlighting file is used, it supports syntax highlighting in more than 50 languages and 20 different themes, and is out-of-the-box.



Lighter

Lighter is a free MooTools code highlighting plug-in. Using lighter. js is as simple as simply adding a simple script to your page.



BeautyOfCode

This is a jQuery syntax highlighting plug-in. It uses SyntaxHighlighter of Alex Gorbatchev, but this plug-in is compatible with xhtml syntax.



SyntaxHighlighter

SyntaxHighlighter is a fully functional, independent code syntax highlighting tool written in JavaScript. It has been unanimously recognized and used by Apache, Aptana, Mozilla, Yahoo, Wordpress, Bug Labs, and Freshbooks.
SyntaxHighlighter allows you to insert color code snippets on web pages without relying on any server scripts.

From: realcombiz.com

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.