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