This repository has been archived by the owner on Feb 20, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
readme.txt
executable file
·281 lines (235 loc) · 6.33 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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
=== Prism Syntax Highlighter ===
Tags: syntax highlighter, prism, light weight, simple, free
Requires at least: 5.0.0
Requires PHP: 5.6
Tested up to: 5.6.1
Stable tag: 3.0.2
License: MIT
License URI: https://opensource.org/licenses/MIT
Contributors: ankurk91
Prism syntax highlighter controller plugin for WordPress.
== Description ==
Prism is a lightweight, extensible syntax highlighter, built with modern web standards in mind.
This plugin lets you control and use this awesome library in to your WordPress site.
** Comes with 6 Official themes **
= Available Languages at this time =
* HTML
* CSS
* C-Like
* Java Script
* PHP
* SQL
* Ruby
* SQL
* C
* ABAP
* ActionScript
* Ada
* Apache Configuration
* APL
* Applescript
* AsciiDoc
* ASP.NET (C#)
* AutoIt
* AutoHotkey
* Bash
* BASIC
* Batch
* Bison
* Brainfuck
* Bro
* C#
* C++
* CoffeeScript
* Crystal
* D
* Dart
* Diff
* Django/Jinja2
* Docker
* Eiffel
* Elixir
* Erlang
* F#
* Fortran
* Gherkin
* Git
* GLSL
* Go
* GraphQL
* Groovy
* Haml
* Handlebars
* Haskell
* Haxe
* HTTP
* Icon
* Inform 7
* Ini
* J
* Jade
* Java
* Jolie
* JSON
* Julia
* Keyman
* Kotlin
* LaTex
* Less
* LiveScript
* LOLCODE
* Lua
* Makefile
* Markdown
* MATLAB
* MEL
* Mizar
* Monkey
* NASM
* nginx
* Nim
* Nix
* Objective-C
* OCaml
* Oz
* PARI/GP
* Parser
* Pascal
* Perl
* PowerShell
* Processing
* Prolog
* .properties
* Protocol Buffers
* Puppet
* Pure
* Python
* Q
* Qore
* R
* React JSX
* Reason
* reST (reStructuredText)
* Rip
* Roboconf
* Rust
* SAS
* Sass (Sass)
* Sass (Scss)
* Scala
* Scheme
* Smalltalk
* Smarty
* Stylus
* Swift
* Tcl
* Textile
* Twig
* TypeScript
* Verilog
* VHDL
* vim
* Wiki markup
* Xojo (REALbasic)
* YAML
= Comes with 16 Official Plugins =
* AutoLinker
* FileHighlight
* Line Highlight
* Line Numbers
* Show Invisibles
* Show Language
* Normalize Whitespace
* Autoloader
* Command Line
* Copy to Clipboard
* Preview: Base
* Preview: Angle
* Preview: Color
* Preview: Easing
* Preview: Gradient
* Preview: Time
= Additional Features =
* Tiny MCE (editor) Assistant Button to quickly insert code to posts.
* Load (enqueue) Prism files (CSS+js) to post pages only
== Installation ==
0. Remove any existing syntax highlighter or disable them.
1. Search for 'ank prism for wp' in WordPress Plugin Directory and Download the .zip file & extract it.
2. Upload the folder `ank-prism-for-wp` to the `/wp-content/plugins/` directory
3. Activate the plugin through the 'Plugins List' page in WordPress Admin Area.
4. Configure this plugin via Settings-->Prism For WP
5. Enjoy the awesomeness.
== Frequently Asked Questions ==
= What does this plugin actually do? =
This plugin allows you to select from available themes, languages and plugins.
It then creates JS and CSS files, stores them on the server and enqueues them to front end.
Everything will be served from the local server.
= Where can I find a working demo? =
Just head to http://prismjs.com for demos and instructions.
= Who is the original developer of Prism Library? =
* This JS library is developed by : [Lea Verou](http://lea.verou.me/)
* With the many other Contributors : [Listed here](https://github.com/LeaVerou/prism/contributors)
* Hosted at : [Prismjs.com](http://www.prismjs.com)
= Changes do not reflect after saving settings ? =
Are you using some Cache/Performance plugin (eg:WP Super Cache/W3 Total Cache/BWP Minify) ?
Then flush your WP cache and refresh target page.
= This Plugin is unable to write js/css files . =
Each time update the settings, the plugin will create new js and CSS files.
There may be some chance that the plugin is unable to create or write these files. These files are essential for the plugin to work.
Possible reasons are ->
* Not enough permission to write a file.
* Plugin malfunction (my fault).
* You hosting provider has disabled File Handling Function via php.ini (rare).
How to resolve ->
* Login to your website via your FTP client software. (eg: FileZilla)
and change file permission of this plugin folder.
== Upgrade Notice ==
== Screenshots ==
1. Plugin Option Page Screen
2. Tiny MCE Pop-up box
3. Final output on front-end
== Changelog ==
= 3.0.2 =
* Tested with php 7.4 and WordPress 5.6
= 3.0.1 =
* Added plugin: Normalize Whitespace
= 3.0.0 =
* Added additional languages:
* Ruby, SQL, C, ABAP, ActionScript, Ada, Apache Configuration, APL, Applescript, AsciiDoc, ASP.NET (C#), AutoIt, AutoHotkey, Bash, BASIC, Batch, Bison, Brainfuck, Bro, C#, C++, CoffeeScript, Crystal, D, Dart, Diff, Django/Jinja2, Docker, Eiffel, Elixir, Erlang, F#, Fortran, Gherkin, Git, GLSL, Go, GraphQL, Groovy, Haml, Handlebars, Haskell, Haxe, HTTP, Icon, Inform 7, Ini, J, Jade, Java, Jolie, JSON, Julia, Keyman, Kotlin, LaTex, Less, LiveScript, LOLCODE, Lua, Makefile, Markdown, MATLAB, MEL, Mizar, Monkey, NASM, nginx, Nim, Nix, Objective-C, OCaml, Oz, PARI/GP, Parser, Pascal, Perl, PowerShell, Processing, Prolog, .properties, Protocol Buffers, Puppet, Pure, Python, Q, Qore, R, React JSX, Reason, reST (reStructuredText), Rip, Roboconf, Rust, SAS, Sass (Sass), Sass (Scss), Scala, Scheme, Smalltalk, Smarty, Stylus, Swift, Tcl, Textile, Twig, TypeScript, Verilog, VHDL, vim, Wiki markup, Xojo (REALbasic), YAML
* Added additional plugins:
* Autoloader , Command Line, Copy to Clipboard, Preview: Base, Preview: Angle, Preview: Color, Preview: Easing, Preview: Gradient, Preview: Time
* Temporarily removed WebPlatform Docs
= 2.0.0 =
* Refactor code a lot
* Write dynamic files in out folder, so give write permission on out folder from now
= 1.7.0 =
* Updated links
= 1.6.2 =
* Tested upto WordPress 4.3.1
* Updated notes - No longer maintained
= 1.6.1 =
* Minor bug fixes
* Improved form handling
= 1.6 =
* Security and speed improvements
* Assistant Button is available for Custom Post types as well
= 1.5 =
* Updated modules from original site
= 1.4 =
* Option to disable Tiny MCE button.
* Option to load Prism files only to Post (Single) Pages.
* Plugin Code optimization and cleanup
= 1.3 =
* Add assistant button to Tiny MCE (editor) that will lets user quickly insert code without any tutorial.
* Released to WordPress
= 1.2 =
* Improved docs and site links.
* Language selection on Option Page has been improved. Take care of dependencies.
* Minify CSS before writing to file.
= 1.1 =
* Quick Bug fix: Rename prism-php.php to prism-php.js
= 1.0 =
* First public release on GitHub
* Submitted to WordPress
== Arbitrary section ==
Nothing in this section, Read FAQ.