|
8f746360
|
2013-05-23T11:53:04
|
|
Use separate vars to track whether lookbehind is being used and the length of the lookbehind. Fixes #109.
|
|
6cbd5e66
|
2013-05-22T17:58:24
|
|
Merge pull request #107 from gmurphey/gh-pages
Add Third Party Jekyll tutorial
|
|
e16ab25a
|
2013-05-22T20:53:07
|
|
Adding third party Jekyll tutorial.
|
|
15e4ed7d
|
2013-05-22T16:49:43
|
|
Merge pull request #106 from remybach/twilight-theme
Add twilight theme to components.js
|
|
6e46cdcf
|
2013-05-22T22:33:03
|
|
Add twilight theme to components.js
|
|
6b7f8a84
|
2013-05-22T22:19:50
|
|
Merge branch 'gh-pages' into twilight-theme
* gh-pages: (74 commits)
Fixed the Test Drive page to work with non-default languages
Added File Highlight plugin
Added minified version of Groovy
Changed layout of download page to accommodate the growing number of languages
Renamed okaidia cause it broke the theme switcher
Added WPD to list of sites using Prism
Split the components registration object into its own file
Edited typeplate logo
Adds Typeplate Logo to Used By Section
Added tutorials section to homepage
added Groovy language to download options
Added URLs in strings example
Added Used By section to Prism homepage
Removed “new” from the header, as Prism is almost a year old already
Added WPD plugin officially
Readded word boundaries
More example testing
Moved function to clike
More improvements and testing
Added min files
...
|
|
07c0f4f6
|
2013-05-19T12:03:10
|
|
Merge pull request #50 from remybach/twilight-theme
Twilight theme for prism
|
|
fb11922e
|
2013-05-19T04:02:17
|
|
Fixed the Test Drive page to work with non-default languages
|
|
bba5bfc2
|
2013-05-19T03:20:58
|
|
Added File Highlight plugin
|
|
cbe9e528
|
2013-05-19T01:48:31
|
|
Added minified version of Groovy
|
|
868f66da
|
2013-05-19T01:48:17
|
|
Changed layout of download page to accommodate the growing number of languages
|
|
d1e9693b
|
2013-05-19T01:00:43
|
|
Renamed okaidia cause it broke the theme switcher
|
|
2154b0b1
|
2013-05-19T00:36:46
|
|
Added WPD to list of sites using Prism
|
|
97d57c65
|
2013-05-19T00:35:29
|
|
Split the components registration object into its own file
|
|
08143d9f
|
2013-05-19T00:12:57
|
|
Merge branch 'regex-number' of https://github.com/mseeboeck/prism into mseeboeck-regex-number
Conflicts:
components/prism-clike.js
components/prism-clike.min.js
prism.js
|
|
3bfbefe0
|
2013-05-18T22:35:21
|
|
Edited typeplate logo
|
|
3ec38996
|
2013-05-18T12:22:45
|
|
Merge pull request #100 from typeplate/typeplate-project
Adds Typeplate Logo to Used By Section
|
|
99a95d25
|
2013-05-18T14:06:21
|
|
Adds Typeplate Logo to Used By Section
|
|
f40bc845
|
2013-05-18T20:37:49
|
|
Merge branch 'gh-pages' of https://github.com/LeaVerou/prism into gh-pages
|
|
85571572
|
2013-05-18T20:37:41
|
|
Added tutorials section to homepage
|
|
577173ff
|
2013-05-18T10:28:51
|
|
Merge pull request #99 from robfletcher/gh-pages
Added Groovy language to the download options
|
|
a791187b
|
2013-05-18T18:26:56
|
|
added Groovy language to download options
|
|
3f99c98e
|
2013-05-18T08:30:11
|
|
Merge pull request #89 from robfletcher/gh-pages
Language definition for Groovy
|
|
5c5be184
|
2013-05-18T08:19:02
|
|
Merge pull request #19 from ocodia/gh-pages
Added okaidia prism theme
|
|
1bf661f8
|
2013-05-18T17:53:36
|
|
Added URLs in strings example
|
|
f661a677
|
2013-05-18T17:47:04
|
|
Added Used By section to Prism homepage
|
|
0c1f12bd
|
2013-05-18T17:28:35
|
|
Removed “new” from the header, as Prism is almost a year old already
|
|
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.
|
|
afee1322
|
2013-05-18T07:21:21
|
|
Merge pull request #96 from milesj/php
PHP support + Clike improvements
|
|
f437b35c
|
2013-05-18T17:00:47
|
|
Merge branch 'gh-pages' of https://github.com/LeaVerou/prism into gh-pages
|
|
8dfc4665
|
2013-05-18T17:00:31
|
|
Added WPD plugin officially
|
|
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
|
|
0c1e09bf
|
2013-05-14T03:59:16
|
|
Merge pull request #94 from dorfire/patch-1
deleted the duplicate occurrence of the "AS" keyword
|
|
0df2df06
|
2013-05-14T11:44:17
|
|
deleted the duplicate occurrence of the "AS" keyword
|
|
08c800c8
|
2013-05-13T16:08:57
|
|
Merge pull request #93 from gr2m/gh-pages
prevent urls from being interpreted as comments
|
|
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
|
|
b13279dc
|
2013-05-11T06:28:07
|
|
Merge pull request #92 from gr2m/gh-pages
Probem with JS code that starts with `// comment`
|
|
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?
|
|
20c0a1e9
|
2013-05-11T04:44:48
|
|
Alpha version of Prism-WPD plugin
|
|
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
|
|
d56ef6d4
|
2013-05-10T09:51:32
|
|
Merge pull request #90 from mojavelinux/license
add license file
|
|
8e7d2426
|
2013-05-10T10:48:52
|
|
add license file
|
|
943a0cd4
|
2013-05-10T07:17:33
|
|
updated groovy syntax to take advantage of language argument now being passed to wrap callback
|
|
c3a69913
|
2013-05-09T21:01:17
|
|
Added language id to wrap hook
|
|
ab7fb9ba
|
2013-05-08T22:36:46
|
|
Language definition for Groovy
|
|
4d3bbe17
|
2013-04-30T01:26:02
|
|
Merged changes, ran CodeKit
|
|
0841b6b7
|
2013-04-29T07:41:30
|
|
Merge pull request #78 from zeitgeist87/gh-pages
Support for C/C++ and Bash syntax highlighting
|
|
3a14aa9d
|
2013-04-29T10:25:14
|
|
Merge remote-tracking branch 'upstream/gh-pages' into gh-pages
Conflicts:
code.js
|
|
139384a1
|
2013-04-26T03:11:36
|
|
Merge pull request #70 from R-osey/tomorrow-night
Add tomorrow night 80's syntax theme
|
|
be72190a
|
2013-04-22T12:33:39
|
|
Merge pull request #71 from multipetros/gh-pages
Add Python & SQL syntax highlighters
|
|
b70cbb30
|
2013-04-22T17:25:03
|
|
Merging with original branch changes
|
|
83d16ffa
|
2013-04-22T17:06:26
|
|
Merge remote-tracking branch 'origin/gh-pages' into gh-pages
Conflicts:
code.js
|
|
fa618e5b
|
2013-04-05T13:47:52
|
|
Merge pull request #60 from davidl/patch-1
Add link to API at end of "Basic usage" section
|
|
42088f28
|
2013-03-26T13:04:55
|
|
Merge pull request #81 from ngryman/gh-pages
Fixes URLs in strings
|
|
503209ac
|
2013-03-25T23:33:17
|
|
fixed URLs in strings.
|
|
1a71257d
|
2013-03-18T05:17:51
|
|
Merge pull request #80 from MoOx/sass-fixes-73-79
Fixes Sass issues #73 & #79
|
|
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
|
|
4309608a
|
2013-03-12T13:29:25
|
|
Merge pull request #72 from MoOx/scss
Add Sass (scss) support
|
|
86ab8b7d
|
2013-02-08T02:09:30
|
|
add SQL syntax highlighters, update code.js, cut 2 bytes from python.min.js
|
|
2005a233
|
2013-02-04T07:28:52
|
|
Remove Sass from default prism.js & examples
|
|
edbadbe0
|
2013-02-02T07:29:07
|
|
Add Sass (scss) support
|
|
e9abdfb3
|
2013-02-02T03:04:44
|
|
small correction to code.js
|
|
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
|
|
6626d04f
|
2013-02-01T12:01:37
|
|
Merge pull request #69 from R-osey/coffeescript
Add coffeescript syntax hilighters
|
|
92bede23
|
2013-01-27T19:47:43
|
|
Reorganized code
|
|
8c6a447f
|
2013-01-27T10:54:21
|
|
Add coffeescript to code.js
|
|
2fd39c7e
|
2013-01-26T21:22:09
|
|
Add coffeescript syntax hilighters
|
|
4a367fe2
|
2013-01-26T21:18:41
|
|
Add tomorrow night 80's syntax theme
|
|
5a7654eb
|
2013-01-27T18:30:57
|
|
Fixed text-shadows on print
|
|
358fbbd6
|
2013-01-27T03:50:38
|
|
Replaced iteration with Array#map
|
|
a27870f0
|
2013-01-01T08:34:19
|
|
Merge pull request #65 from lukaszklis/gh-pages
Fixed HTML5's spec links
|
|
6609dadd
|
2013-01-01T16:07:14
|
|
Fixed links to HTML5 spec
|
|
ad010eac
|
2012-12-18T00:18:43
|
|
Changed regex Prism.languages.clike.number
Changes:
* Variable names matching /[a-f]+/ are no longer treated as numbers.
* Added support for upper case and scientific notation.
* Also changed corresponding files in /components.
Minor issues:
* No support for type suffixes (e.g. 300f for float).
* Leading decimal point is marked up as 'punctuation', instead as part of
* the number (e.g. .1; 0.1 is matched correctly).
|
|
71b4dad0
|
2012-12-17T22:48:00
|
|
Rescued 220 whitespace characters from certain death :)
|
|
edb0f128
|
2012-12-17T09:03:32
|
|
Also changed the 2 corresponding files in /components.
|
|
f678c58f
|
2012-12-17T07:02:38
|
|
Changed regex Prism.languages.javascript.number
Regex treated var names matching /[a-f]+/ as numbers.
Added support for scientific notation (e.g. 1.23e-4).
Added support for upper case notation (e.g. 0xBEEF).
Small issues remaining:
* Leading decimal point is marked up as 'punctuation', instead as part of the
number (e.g. .1; 0.1 is matched correctly). Maybe a problem with the
tokenizer?
* Maybe Prism.languages.clike.number should be changed as well?
|
|
f5de661b
|
2012-11-30T23:32:20
|
|
Merge pull request #61 from davidl/patch-2
Change 'cdata' regex to capture empty instances (+ to *)
|
|
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
|
|
4873f623
|
2012-11-29T09:54:14
|
|
Add link to API for "data-manual"
A link to the API section is helpful for those who need to use the "data-manual" or other features that are not included in "Basic usage" since the API section is located on the "Extending Prism" page.
|
|
61b3b817
|
2012-11-25T12:26:21
|
|
Merge pull request #58 from CIAvash/autolinker-self-fix
Fixed #57 - Autolinker doesn't work when async is enabled
|
|
29ba72da
|
2012-11-25T18:28:20
|
|
Fixed #57 - Autolinker doesn't work when async is enabled
|
|
7d3a70bb
|
2012-11-18T09:33:53
|
|
Merge pull request #53 from MoOx/fix-java-examples
Fix Java examples which are not working
|
|
79c5c906
|
2012-11-15T10:40:46
|
|
Fix Java examples which are not working
With the commit 5c7827d0e9afa9e836c57fb25fa8415fb7b8d299, you remove the prism-java component from the prism.js, so the Java examples here http://prismjs.com/examples.html are not working
|
|
503b9651
|
2012-11-14T10:15:25
|
|
Fix up the colours to be more true to the original Twilight theme
|
|
40ce3954
|
2012-11-13T16:30:49
|
|
Fixed bug with self-closing tags
|
|
e043b877
|
2012-11-12T05:39:20
|
|
Fixed HTML highlighting bugs
|
|
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
|
|
1e13f68c
|
2012-11-10T22:05:43
|
|
Minor fixes on the website
|
|
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
|