-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathreadme.txt
139 lines (94 loc) · 4.03 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
=== WordPress Rainbow Hilite ===
Contributors: podpirate
Donate link: https://www.msf.org/donate
Tags: code, syntax highlighting, rainbow, code
Requires at least: 3.8
Tested up to: 5.2.2
Requires PHP: 5.3.0
Stable tag: 2.0.5
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
<strong>NO LONGER MAINTAINED</strong> Code Syntax highlighting using <a href="http://craig.is/making/rainbows">rainbow</a>
== Description ==
<div class="plugin-notice notice notice-warning notice-alt">
“WordPress Rainbow Hilite” is no longer maintained. If you are interested in taking over the plugin, please leave a notice in the [github issues](https://github.com/mcguffin/wp-rainbow-hilite/issues).
If you like to use
</div>
Code syntax Highlighting. Documentation can be found [here](http://wpdev.podpirate.org/wordpress-rainbow-hilite).
= Features: =
- Highlighted code can be copy-pasted directly out of the site. No "view raw" button needed.
- User friendly TinyMCE integration.
- Many programming languages supported.
Includes [rainbow.js](http://craig.is/making/rainbows) a syntax highlighting script written by [Craig Campbell](http://craig.is/).
Line numbering through [rainbow.linenumbers](https://github.com/Sjeiti/rainbow.linenumbers) by [Ron Valstar](http://www.sjeiti.com/).
Currently supported languages by Rainbow are
- C
- C#
- Coffeescript
- CSS
- D
- Go
- Haskell
- HTML
- Java
- Javascript
- Lua
- PHP
- Python
- R
- Ruby
- Scheme
- Shell
- Smalltalk
There are some Hooks implemented allowing you to load your own language modules. Details [here](https://github.com/mcguffin/wp-rainbow-hilite/wiki).
Latest files on [GitHub](https://github.com/mcguffin/wp-rainbow-hilite).
== Installation ==
Follow the standard [WordPress plugin installation procedere](http://codex.wordpress.org/Managing_Plugins).
== Frequently asked questions ==
= I found a bug. Where should I post it? =
Depends. If you can break it down to the JavaScript core it would be best placed in the [Rainbow Repository](https://github.com/ccampbell/rainbow) (which is not mine).
Everything else can either go into the Support forum, or in the [WP-Rainbow Repo](https://github.com/mcguffin/wp-rainbow-hilite).
= I'd like to suggest a feature. Where should I post it? =
I personally prefer GitHub. The plugin code is here: [GitHub](https://github.com/mcguffin/wp-rainbow-hilite)
(See above as well.)
= I want to use the latest files. How can I do this? =
Use the GitHub Repo rather than the WordPress Plugin. Do as follows:
1. If you haven't done so: [Install git](https://help.github.com/articles/set-up-git)
2. in the console cd into Your 'wp-content/plugins' directory
3. type 'git clone [email protected]:mcguffin/wp-rainbow-hilite.git'
4. If you want to update to the latest files (be careful, might be untested on Your WP-Version) type 'git pull'.
= I found a bug and fixed it. How can I let You know? =
Either post it on the [GitHub-repo](https://github.com/mcguffin/wp-rainbow-hilite) or—if you cloned the repository—send me a pull request.
== Screenshots ==
1. Visual Editor
2. Code properties dialog
3. WordPress Settings Writing
4. Highlighted Code
== Changelog ==
= 2.0.5 =
End-of-life notice
= 2.0.4 =
Fix PHP Fatal Error
= 2.0.2 =
Get rid of concating assets in PHP (use a Script optimizer plugin instead)
= 2.0.1 =
Introduce new release pipeline
= 2.0.0 =
Code refactoring
= 1.0.6 =
Localization: Move de_DE to translate.wordpress.org
= 1.0.5 =
Fix: Safer script loading
= 1.0.4 =
Fix: Scripts now are correctly minified by Autoptimize.
= 1.0.3 =
Fix: Load rainbow css after theme css
= 1.0.2 =
l10n: Change plugin textdomain to plugin slug.
= 1.0.1 =
JS Fix: play nice with prevoisly declared document.onreadystatechange callbacks.
= 1.0.0 =
Initial Release
== Plugin API ==
The plugin offers some filters to allow themes and other plugins to hook in.
See [GitHub-Repo](https://github.com/mcguffin/wp-rainbow-hilite) for details.