Jquery blog has finally found a suitable code plug-in. WP code highlight

Source: Internet
Author: User

JqueryOpenBlogMore than two months later, mainly writing pointsWeb Front-endWhat are the common effects of this item.
Because of this, there is a goodCodePlug-insIt's a provisioner. Otherwise, too much code is not conducive to browsing.
I tried several code plug-ins, suchSyntaxhighlighter evolved,Google syntax highlighter for WordPress,WP-chili,Code colorer,Dojox WordPress syntax highlighterAnd so on. The Code cannot be selected, or the display performance is poor.
Keep searching, visit todayWordPressOn the official forum, a buddy introduced WP.Code highlight
The long-overdue installation results show that they are exactly what they need. Sometimes simplicity is also a kind of beauty, and I want this beauty.
Installation Steps
1. The next WP code highlight on the official website
2. log on to the background plug-in to upload the plug-in. Select the plug-in, install it, and enable it. The OK plug-in takes effect. (PS: Fatal error: Call to undefined function curl_init () in D: \ Wamp \ www \ wwpp \ wordpress-3.3.2-zh_CN \ WordPress \ WP-content \ plugins \ wbto. PHP on line 32 error does not have much research on WP. The expert pointed out that curl is used by another plug-in, but curl is not enabled locally, and Baidu is not understood. It is probably similar to down Thieves.ProgramYes, I don't know if it's correct. please correct me.) The plug-in is useless and you can stop it.
3. Set the code highlight.

WP code highlight

 

WP code highlight Configuration

By default, several of the Code buttons are the first to enable the topic. If you try other theme buttons separately, the code line numbers are not very good. Otherwise, you may be dazzled in a pile, it is not convenient to find it. The deletion settings are also checked and can be green.
4. The effect is as follows:

 
// Code

This is done. Finally, there was a code highlighting plug-in, so I was excited.
Basically, you write something. If you have trouble switching back and forth between the visual editor and HTML, you can block it.
Go to your account and click the account in the upper-right corner.

WP code highlight Configuration

The first one is enough.
After the writing is complete, leave some handwriting to facilitate reading by yourself and others.

 

Converting from jquery http://www.jqueryba.com/335.html

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.