Skip to content

Commit 3655078

Browse files
committed
Update to jQuery.Syntax release-2.3
1 parent 89c4f51 commit 3655078

File tree

4 files changed

+7
-25
lines changed

4 files changed

+7
-25
lines changed

jquery-syntax/jquery-syntax.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Description: Syntax highlighting using <a href="http://www.oriontransfer.co.nz/software/jquery-syntax">jQuery.Syntax</a> supporting a wide range of popular languages. Wrap code blocks with <code>&lt;pre class="syntax {language}"&gt;</code> and <code>&lt;/pre&gt;</code> where <code>{language}</code> is a jQuery.Syntax supported brush. You can also use <code>&lt;code&gt;</code> tags for inline highlighting.
66
Author: Samuel Williams
77
Author URI: http://www.oriontransfer.co.nz/
8-
Version: 2.2.2
8+
Version: 2.3
99
*/
1010

1111
#
@@ -51,7 +51,7 @@ function jq_syntax_loaded() {
5151
// Version 3.0-beta1 has jQuery 1.4.2 :)
5252
if (version_compare($wp_version, '3', '<')) {
5353
wp_deregister_script('jquery');
54-
wp_register_script('jquery', $path . 'jquery-1.4.1.min.js');
54+
wp_register_script('jquery', $path . 'jquery-1.4.2.min.js');
5555
}
5656

5757
wp_enqueue_script('jquery');

jquery-syntax/readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Donate link: http://www.pledgie.com/campaigns/8915
44
Tags: formatting, code, highlight, syntax, syntax highlighting
55
Requires at least: 2.9
66
Tested up to: 3.0
7-
Stable tag: 2.2.2
7+
Stable tag: 2.3
88

99
jQuery.Syntax is an extremely fast and lightweight syntax highlighter.
1010

jquery-syntax/wp-fixes.css

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,11 @@
33
With the new list layout, these are probably not needed.
44
*/
55

6-
/* "View Raw Code" window */
7-
#syntax-raw {
8-
/* Text is centered by default in body -_- */
9-
text-align: inherit;
10-
11-
/* Default font size is too small! */
12-
font-size: 13px;
13-
}
14-
15-
/* Table alt row highlighter */
16-
table.syntax tr.alt {
17-
border-left: inherit;
18-
}
19-
20-
table.syntax tr td {
21-
border-top: none !important;
22-
border-bottom: none !important;
23-
}
24-
256
.syntax {
267
font-size: 80%;
278
}
289

29-
table.syntax tr td {
30-
padding: 0 0.4em 0 !important;
10+
.syntax-container pre {
11+
font-size: 80% !important;
12+
line-height: 1.5em !important;
3113
}

0 commit comments

Comments
 (0)