-
Notifications
You must be signed in to change notification settings - Fork 2
/
readme.txt
143 lines (91 loc) · 4.7 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
=== WP Code Highlight ===
Contributors: boliquan
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SCWY6NPFRR8EY
Tags: wp code highlight,wordpress code highlight,wp code,code highlight,sourcecode,wp prettify,wp code prettify,syntax,javascript,highlight,code,formatting,google code prettify,code button,quicktags,html,xhtml,css,syntax highlighter,google syntax highlighter,code highlighter,code snippet,code box,cool code,codecolorer,source,articles,post,comment,sniplets
License: GPLv2
Requires at least: 2.7
Tested up to: 3.9.1
Stable tag: 1.2.9
WP Code Highlight provides clean syntax highlighting and it also provides a code button.
== Description ==
WP Code Highlight provides syntax highlighting of source code snippets and it is W3C valid.
Wrap code blocks with `<pre>` and `</pre>`
It provides a code button(HTML editor) to help you insert code in articles easily.
You don't need to specify the language since WP Code Highlight will guess, all languages are supported.
You can put line numbers in your code if you need.
There are 4 highlight themes, you can choose from them or display by random.
It can also load `wp-code-highlight.css` from current wordpress theme directory.
It can delete its own options, so it is also a green plugin !
= Basic Usage =
1. Download and extract `wp-code-highlight.zip` to `wp-content/plugins/`
2. Activate the plugin through the "Plugins" menu in WordPress
3. "Dashboard"->"Users"->"Your Profile"->"Disable the visual editor when writing"
4. "Dashboard"->"Settings"->"WP Code Highlight"
5. Wrap code blocks with `<pre>` and `</pre>` (It provides a code button in the HTML editor)
6. You don't need to specify the language since WP Code Highlight will guess, all languages are supported
7. It can also load `wp-code-highlight.css` from current wordpress theme directory
= More Information =
For more information of this plugin, please visit: [Plugin Homepage](http://boliquan.com/wp-code-highlight/ "WP Code Highlight").
Related Links:
* <a href="http://boliquan.com/wp-code-highlight/">WP Code Highlight (FAQ)</a> | <a href="http://wordpress.org/plugins/wp-code-highlight/">Download</a>
* <a href="http://boliquan.com/wp-clean-up/">WP Clean Up</a> | <a href="http://wordpress.org/plugins/wp-clean-up/">Download</a>
* <a href="http://boliquan.com/wp-smtp/">WP SMTP</a> | <a href="http://wordpress.org/plugins/wp-smtp/">Download</a>
* <a href="http://boliquan.com/wp-slug-translate/">WP Slug Translate</a> | <a href="http://wordpress.org/plugins/wp-slug-translate/">Download</a>
* <a href="http://boliquan.com/wp-anti-spam/">WP Anti Spam</a> | <a href="http://wordpress.org/plugins/wp-anti-spam/">Download</a>
* <a href="http://boliquan.com/yg-share/">YG Share</a> | <a href="http://wordpress.org/plugins/yg-share/">Download</a>
* <a href="http://boliquan.com/">BoLiQuan</a>
* <a href="http://boliquan.com/">玻璃泉</a>
* <a href="http://boliquan.com/">夜光</a>
* <a href="http://boliquan.com/ylife/">YLife</a> | <a href="http://code.google.com/p/ylife/downloads/list">Download</a>
== Installation ==
1. Download and extract `wp-code-highlight.zip` to `wp-content/plugins/`
2. Activate the plugin through the "Plugins" menu in WordPress
3. "Dashboard"->"Users"->"Your Profile"->"Disable the visual editor when writing"
4. "Dashboard"->"Settings"->"WP Code Highlight"
5. Wrap code blocks with `<pre>` and `</pre>` (It provides a code button in the HTML editor)
6. You don't need to specify the language since WP Code Highlight will guess, all languages are supported
7. It can also load `wp-code-highlight.css` from current wordpress theme directory
== Changelog ==
= 1.2.9 =
* Some optimization
= 1.2.8 =
* Updated newline handling to handle fixes to IE 10
* Remove unused JS files
* Optimize CSS
* Register Setting
= 1.2.7 =
* Some optimization
= 1.2.6 =
* Corrected the bugs of 'Code Button', due to the quicktags was changed since WordPress 3.3
= 1.2.5 =
* Corrected the slashes bugs
* Add settings link
= 1.2.4 =
* Detailed usage
= 1.2.3 =
* Corrected some bugs,thanks to 'ihacklog.com'
= 1.2.2 =
* Add languages packs
= 1.2.1 =
* Corrected some IE6 bugs
= 1.2.0 =
* Html special chars can be displayed
* Some optimize
= 1.1.9 =
* Some optimize
* Corrected some bugs of Line Numbers
= 1.1.8 =
* Some optimize
* Corrected some mistakes
= 1.1.7 =
* Some optimize
* Corrected some mistakes
= 1.1.6 =
* First release.
== Screenshots ==
1. Admin page screenshot
2. Code Button
== Frequently Asked Questions ==
You can sumbit it in http://boliquan.com/wp-code-highlight/
== Upgrade Notice ==
Please visit http://boliquan.com/wp-code-highlight/