Trial Use of the Code insertion function in the blog editor and syntax highlighting comparison with editplus

Source: Internet
Author: User
Supported functions: syntax highlighting, line number display, Code Supports 21 languages, including python, Perl, VBScript, CSS, C #, msil, and VB. net, C ++, XAML, batchfile, XML, INIFILE, assembly, Pascal, Java, JScript, SQL, Lua, PHP, powershell, HTML.

HTML code, capable of parsing HTML embedded scripts

<! Doctype HTML public "-// W3C // dtd html 4.0 transitional // en" >
< Meta HTTP-equiv = "Content-Type" Content = "Text/html; charset = gb2312" >
< Title > New </ Title >
<ScriptLanguage= "JavaScript">
VaRX=NewXMLHttpRequest ();
</Script>

VBScript Function Getdata (geturl, getmode)
Dim HTTP
Set HTTP = Server. Createobject ( " Msxml2.xmlhttp " )
Set HTTP =   Nothing
End Function

JavascriptVaRX=NewXMLHttpRequest (222,True);
VaRX=NewDate ();
//VaR x = new TT ("Content-Type ");

from the above three trial examples, the insert code in the editor is still very good. However, the syntax highlight is not as powerful as editplus, and editplus can well identify the built-in objects and keywords in the Program language, such as the date in the following section of JavaScript. the following figure shows the effect of editplus: var x = new XMLHttpRequest (222, true);
var x = new date ();
// var x = new TT ("Content-Type");

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.