Skip to content

Commit ef806be

Browse files
committed
Better links in code.
1 parent f548e74 commit ef806be

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

dist/base/jquery.syntax.core.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ pre code.syntax-theme-base {
1616
.syntax-theme-base {
1717
font-family: Menlo, Monaco, Consolas, monospace;
1818
line-height: 1.15em; }
19+
.syntax-theme-base a {
20+
text-decoration: none;
21+
color: inherit; }
1922
.syntax-theme-base .function {
2023
color: #33f; }
2124
.syntax-theme-base .keyword, .syntax-theme-base .access {

dist/jquery.syntax.brush.nginx.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Syntax.register('nginx', function(brush) {
88
brush.push({
99
pattern: /((\w+).*?);/g,
1010
matches: Syntax.extractMatches(
11-
{klass: 'directive', allow: '*', process: Syntax.lib.webLinkProcess("http://nginx.org/r/")},
12-
{klass: 'function'}
11+
{klass: 'directive', allow: '*'},
12+
{klass: 'function', process: Syntax.lib.webLinkProcess("http://nginx.org/r/")}
1313
)
1414
});
1515

source/jquery.syntax.brush.nginx.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Syntax.register('nginx', function(brush) {
88
brush.push({
99
pattern: /((\w+).*?);/g,
1010
matches: Syntax.extractMatches(
11-
{klass: 'directive', allow: '*', process: Syntax.lib.webLinkProcess("http://nginx.org/r/")},
12-
{klass: 'function'}
11+
{klass: 'directive', allow: '*'},
12+
{klass: 'function', process: Syntax.lib.webLinkProcess("http://nginx.org/r/")}
1313
)
1414
});
1515

themes/base/jquery.syntax.core.sass

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ pre code.syntax-theme-base
2424
.syntax-theme-base
2525
font-family: Menlo, Monaco, Consolas, monospace
2626
line-height: 1.15em
27-
27+
28+
a
29+
text-decoration: none
30+
color: inherit
31+
2832
.function
2933
color: #33f
3034

0 commit comments

Comments
 (0)