|
d7f40d6c
|
2013-05-18T07:24:36
|
|
Merge pull request #91 from williammalo/gh-pages
C-like syntax (or at least javascript) is missing some operators.
|
|
b4c67349
|
2013-05-17T19:21:25
|
|
Readded word boundaries
|
|
3129ed87
|
2013-05-17T16:57:08
|
|
More example testing
|
|
45a54837
|
2013-05-16T21:08:06
|
|
Moved function to clike
|
|
b1003de3
|
2013-05-16T12:19:58
|
|
More improvements and testing
|
|
5f2d004c
|
2013-05-14T12:05:57
|
|
Added min files
|
|
15c80635
|
2013-05-14T12:03:58
|
|
Added class-name to clike
Added PHP support
|
|
0df2df06
|
2013-05-14T11:44:17
|
|
deleted the duplicate occurrence of the "AS" keyword
|
|
cf604b71
|
2013-05-14T00:23:55
|
|
Fix to allow clike languages like JavaScript to start with `//` comments, but still ignoring URLs like http://example.com
|
|
4615e490
|
2013-05-11T12:27:50
|
|
I had a problem with syntax highlighting of JavaScript when
it starts with a `// comment`.
The problem of the comment pattern was
```
/(^|[^\\])(\/\*[\w\W]*?\*\/|[^:]\/\/.*?(\r?\n|$))/g
^^^^
```
And I'm not sure what it is for, exactly? Adding a `?`
to it fixes the problem for me, but I hope that it doesn't
cause problems with other use case. Could you look into it?
Is there any test suite for the existing code?
|
|
801aab58
|
2013-05-11T04:37:44
|
|
Added parent access to wrap hook
|
|
8779ba84
|
2013-05-10T16:32:07
|
|
Added missing operators for c-like languages
|
|
c3a69913
|
2013-05-09T21:01:17
|
|
Added language id to wrap hook
|
|
3a14aa9d
|
2013-04-29T10:25:14
|
|
Merge remote-tracking branch 'upstream/gh-pages' into gh-pages
Conflicts:
code.js
|
|
83d16ffa
|
2013-04-22T17:06:26
|
|
Merge remote-tracking branch 'origin/gh-pages' into gh-pages
Conflicts:
code.js
|
|
503209ac
|
2013-03-25T23:33:17
|
|
fixed URLs in strings.
|
|
2de58b05
|
2013-03-18T07:35:52
|
|
Fixes some Sass issues
Close #73, close #79
|
|
47ffc24c
|
2013-03-16T18:39:06
|
|
Add C/C++ highlighting support
|
|
ab3aea56
|
2013-03-16T18:36:27
|
|
Add Bash shell script highlighting support
|
|
86ab8b7d
|
2013-02-08T02:09:30
|
|
add SQL syntax highlighters, update code.js, cut 2 bytes from python.min.js
|
|
edbadbe0
|
2013-02-02T07:29:07
|
|
Add Sass (scss) support
|
|
813f27c8
|
2013-02-02T02:51:30
|
|
Update code.js, small improvements to prism-python.js & prism-python.min.js, revert prism.js to original
|
|
a514c8d9
|
2013-02-02T01:27:47
|
|
Add Python syntax highlighters
|
|
92bede23
|
2013-01-27T19:47:43
|
|
Reorganized code
|
|
2fd39c7e
|
2013-01-26T21:22:09
|
|
Add coffeescript syntax hilighters
|
|
358fbbd6
|
2013-01-27T03:50:38
|
|
Replaced iteration with Array#map
|
|
ce86de5b
|
2012-11-30T10:46:52
|
|
Change 'cdata' regex to capture empty instances
Changing "+" to "*" enables the regex to match zero or more occurrences of the preceding range instead of one or more occurrences. In cases where there are multiple CDATA sections, the opening tag ("<![CDATA[") of the first section and the closing tag ("]]>") of the next section are captured as a single instance.
Demo: http://dabblet.com/gist/4176483
|
|
40ce3954
|
2012-11-13T16:30:49
|
|
Fixed bug with self-closing tags
|
|
577a5890
|
2012-11-12T05:35:39
|
|
Fixed HTML highlighting bugs
|
|
2099172d
|
2012-11-12T05:35:39
|
|
Fixed HTML highlighting bugs
|
|
1cdfcb84
|
2012-11-11T04:25:56
|
|
Fixed #37
|
|
1b40db97
|
2012-11-10T00:23:33
|
|
Made Java & JavaScript inherit from a generic C-style language definition; Added methods for language definition inheritance; Added simple dependency management in downloader
|
|
637322b2
|
2012-11-09T16:42:33
|
|
Um...changes. I don’t even remember *blush*
|
|
02653e5c
|
2012-11-09T16:31:18
|
|
Fixed bug with minified files
|
|
9ceed06f
|
2012-09-13T20:08:31
|
|
merge branch 'gh-pages' of https://github.com/LeaVerou/prism into gh-pages
|
|
54fdc1f4
|
2012-09-13T20:06:11
|
|
Removed pointless trim()
|
|
d4bd5e78
|
2012-09-13T20:00:27
|
|
Fix parsing of CSS at-rules
Test case:
@page { size: A4 landscape; margin: 2cm }
The previous *atrule* regexp matched until the `;` but it should stop at the first `{`.
|
|
c571149a
|
2012-08-07T16:22:23
|
|
improve number highlight
|
|
20778033
|
2012-08-05T08:47:24
|
|
fix * operator highlight for import a.b.*;
|
|
294cbaf9
|
2012-08-03T17:33:57
|
|
Added prism-java.min.js
|
|
201077e9
|
2012-08-03T17:25:09
|
|
Added Java syntax highlighter
|
|
ddd1eb89
|
2012-08-01T12:02:46
|
|
Applied #15 to prism-core.js
|
|
e1cd33df
|
2012-08-01T02:47:23
|
|
Made the page a bit more IE friendly, added a first version of the IE8 plugin (WIP)
|
|
c75bbc24
|
2012-07-31T19:08:31
|
|
Fixed bug with classnames
|
|
9a218917
|
2012-07-31T17:48:52
|
|
Removed useless files
|
|
ec8fb796
|
2012-07-31T17:47:56
|
|
Added helper method Prism.languages.DFS
|
|
e95a85c0
|
2012-07-31T16:17:53
|
|
Merged the comment and line-comment tokens
|
|
c8795ed1
|
2012-07-31T12:25:32
|
|
Improved regex matching, docs updates
|
|
ea89ab60
|
2012-07-29T01:35:13
|
|
Minor improvements to Markup
|
|
9eeeb7c6
|
2012-07-29T01:03:05
|
|
Moved inline CSS & JS to their language definitions
|
|
54e2eeab
|
2012-07-29T00:26:50
|
|
Added (and documented) Prism.languages.insertBefore
|
|
03548f7e
|
2012-07-27T04:25:21
|
|
Made url() highlighting more robust
|
|
27ffa5b0
|
2012-07-27T03:24:09
|
|
Fixed serious highlighting bug, reduced known failures from 3 to 1
|
|
4da6cfcd
|
2012-07-27T00:08:10
|
|
Removed useless code
|
|
9f82e1c9
|
2012-07-26T19:13:47
|
|
Added more examples, added highlighting for entities, URLs and CSS strings
|
|
6763cd53
|
2012-07-26T18:48:34
|
|
Fixed bug where block code wasn’t styled properly
|
|
9ea52e2a
|
2012-07-26T18:41:49
|
|
Removed IE8 support
|
|
cfaf681d
|
2012-07-26T18:17:55
|
|
Removed the need for .prism
|
|
9ea808ea
|
2012-07-23T20:20:40
|
|
Added url token in CSS
|
|
1b5ab23a
|
2012-07-23T19:32:27
|
|
Added setting to turn automatic highlighting off and to set a default language
|
|
ae4b4812
|
2012-07-23T19:16:50
|
|
Fixed entity tooltip
|
|
bd4e8d15
|
2012-07-23T18:54:30
|
|
ALL THE THINGS! Most notably: Simple templating, API changes, show invisibles plugin, download (build) page
|
|
a4b9b918
|
2012-07-18T15:57:08
|
|
Added minified versions
|
|
de85c1ae
|
2012-07-16T14:49:10
|
|
Made the language matching a bit more lax. Now it can be on the <pre> element even when it has <code> children. Also, it can be lang-xxxx instead of language-xxxx.
|
|
f2339ea1
|
2012-07-15T22:36:05
|
|
Added line highlight plugin
|
|
2c473547
|
2012-07-15T16:35:06
|
|
Fixed regexes further, documented lookbehind feature
|
|
6f1dc184
|
2012-07-15T14:04:25
|
|
Fixed regex & single line comment conflicts
|
|
2d530f0a
|
2012-07-13T15:18:28
|
|
Experimental highlighting of tab characters in JS code.
|
|
bdb8fae8
|
2012-07-13T15:11:03
|
|
Added hooks system, moved entity tooltips to the Markup language, as a plugin
|
|
764fe408
|
2012-07-13T02:42:17
|
|
Made Prism.wrap() more extensible (See #8)
|
|
a97d26b2
|
2012-07-13T02:31:49
|
|
Added highlighting for CDATA sections
|
|
2d57ff2a
|
2012-07-12T19:07:05
|
|
Added highlighting for doctypes & XML prolog, removed the iframed examples and replaced them with XHR
|
|
6dc08f3d
|
2012-07-12T17:18:48
|
|
Renamed html to markup, since it’s also about XML
|
|
6e9c4e1b
|
2012-07-12T17:12:58
|
|
Fixed horrible bug, added highlighting for XML namespaces
|
|
cdee2b54
|
2012-07-11T22:01:44
|
|
IE8 support
|
|
8ecdd7c4
|
2012-07-11T14:22:23
|
|
Removed switch for automatic highlighting
|
|
4039200f
|
2012-07-11T14:19:45
|
|
Added * and / operators
|
|
28b5cbc9
|
2012-07-11T04:27:33
|
|
Fixed bug with single letter selectors
|
|
27e5464c
|
2012-07-11T03:14:55
|
|
Safeguarded against Object.prototype additions
|
|
4552f5c7
|
2012-07-10T22:48:14
|
|
First commit
|