components


Log

Author Commit Date CI Message
Adam Zapletal 1f6b1295 2014-04-02T01:20:23 Add `this` as a keyword in JavaScript
Jeroen Visser 9fdcf0b3 2014-03-23T13:38:52 Added support for MySQL single line comment Added an extra hash to support MySQL single line comments
Lea Verou e96c2b42 2014-03-21T13:29:24 Merge pull request #215 from idleberg/gh-pages Added support for NSIS
Lea Verou 6e3e5bab 2014-02-27T20:25:09 Added get/set to JS keywords
Jan T. Sott d1fa9596 2014-02-25T10:06:29 Update prism-nsis.min.js
Jan T. Sott da161cd7 2014-02-25T10:05:28 Update prism-nsis.js
Jan T. Sott a1918d6f 2014-02-25T10:04:16 Update prism-nsis.js
idleberg 8270868f 2014-02-24T14:56:34 added credits
idleberg 79f1a83a 2014-02-24T14:51:38 added NSIS syntax
augustjd efff6cbc 2014-02-07T12:26:07 Updated prism-c.js for enhanced C macro support Previously, #include <stdio.h> resulted in the < and > being tagged as operators, which is confusing. Also, preprocessor directives are not allowed to have spaces after the # and before the directive (#include, #define, #if, etc.), so I updated the regex to ignore improperly formatted macros. Currently, macro arguments will be highlighted as properties, but you can line 11 to whatever flagging is desired (keyword, for instance) to visually distinguish between the macro and its arguments.
Marco Vito Moscaritolo a48fdb8f 2013-12-29T00:25:45 Remove duplicate keywords in PHP There are some duplicate keyword in PHP keywords definition: * extends * static * use
Pier-Olivier Thibault 39e2eb58 2013-12-27T13:28:02 Removed extra character in variable regexp Fix #175 by removing '&' as a variable prefix. For some reason, this change also fixes the '<' character being appended with a ; character.
James Brumond 7bfed0f0 2013-12-18T22:31:53 added extra methods to HTTP lang
Daniel Wachsstock a74ff878 2013-12-14T19:36:16 Allow more characters in attribute values The current pattern uses `\w+` but the [html5 grammar](http://www.w3.org/html/wg/drafts/html/master/syntax.html#attribute-value-(unquoted%29-state) allows just about any character, `[^\s'">=]+`
Arne Hormann def5c233 2013-12-01T15:16:53 add Go support to prism
Mohammad Valipour 32286a6d 2013-10-29T13:35:38 add .min version for csharp and gherkin. also fixed indentation for csharp
valipour 837f61be 2013-10-27T10:51:02 add missing keywords to csharp language component
valipour e694d6a1 2013-10-26T20:56:49 add component file for gherkin language
valipour e6308d47 2013-10-26T20:03:46 add component file for csharp
Samuel Flores 8168cd3e 2013-09-26T11:46:08 Support for Ruby languague
Bart Veneman 3c9155e6 2013-08-04T10:52:21 Added throw keyword to c-like and javascript
Lea Verou a8229616 2013-07-14T11:30:26 Merge pull request #130 from milesj/css CSS function order quick fix
Miles Johnson 685b1652 2013-07-13T12:24:13 Use all markup patterns instead of just tag within PHP blocks [Issue #134]
Miles Johnson 63e7a93b 2013-07-03T17:16:27 Use ? modifier instead
Miles Johnson e6cd1c83 2013-07-03T16:57:30 Fix function order
Miles Johnson 3f35ff9c 2013-07-03T12:21:50 Added PHP extras with additional patterns
Miles Johnson 29e51df1 2013-07-03T12:16:14 Fixed clike greater than or equals
Miles Johnson 50485867 2013-07-03T02:22:27 Added min versions
Miles Johnson 5c7d8061 2013-07-03T02:09:37 Polish fixes according to test cases
Miles Johnson 08d8f5a2 2013-07-02T18:39:04 Comment out patterns to move to php-extras
Miles Johnson 2dc55342 2013-07-02T18:36:53 Use global match for hook
Miles Johnson 0c8c1789 2013-07-02T18:18:07 Quick fixes Removed PHP from examples
Miles Johnson a2db2b5c 2013-07-02T16:54:46 Added legit markup support
Miles Johnson a920626b 2013-07-02T15:33:05 Merge branch 'gh-pages' into php-markup
George Kats 2c1d8363 2013-06-24T23:58:39 Fix highlight plugin for worker.
Lea Verou 4a3ee71c 2013-06-16T09:16:43 Merge pull request #112 from danielgtaylor/gh-pages Add highlighting support for raw HTTP
Lea Verou b955edd4 2013-06-14T14:04:51 Allowed numbers in properties (for CSS variables)
Lea Verou 1d899d7d 2013-06-14T11:46:34 Fixed parsing for entities and <> chars
Lea Verou dceab61d 2013-06-14T11:33:07 Tweaked CSS parsing for better LESS highlighting, added relevant example
Daniel G. Taylor 3527ccc7 2013-06-01T09:24:18 Add support for raw HTTP request and response syntax highlighting; add examples for these on the examples pages.
Miles Johnson 52b05010 2013-06-03T18:14:02 Removed markup parsing
Miles Johnson f79b188e 2013-06-03T18:12:50 Merge branch 'gh-pages' into php-markup Conflicts: components/prism-core.js components/prism-core.min.js
Rob Brackett 2b204348 2013-06-01T22:01:58 Merge branch 'gh-pages' into bug-109-zero-length-lookbehind. Manually adjusted whitespace collision in prism.js. Conflicts: prism.js
Lea Verou 70856637 2013-06-01T19:10:11 Merge pull request #59 from CIAvash/before_insert_hook Add a hook before setting the highlighted code to <code>'s innerHTML
Miles Johnson 3624f791 2013-05-26T20:12:48 Merge branch 'css' of github.com:milesj/prism into css
Miles Johnson 4c9ad346 2013-05-26T20:08:55 Merge branch 'gh-pages' into css
Rob Brackett 8f746360 2013-05-23T11:53:04 Use separate vars to track whether lookbehind is being used and the length of the lookbehind. Fixes #109.
Siavash Askari Nasr 29b28801 2013-05-21T16:01:30 Added 'before-insert' hook. After when code is highlighted and before being inserted to document.
Miles Johnson 6d05d897 2013-05-20T15:40:24 Improved pseudo elements
Miles Johnson c1f60b0e 2013-05-18T21:47:01 Minor changes
Miles Johnson a6b53a26 2013-05-18T18:01:16 Updated selector patterns
Miles Johnson c82d6df0 2013-05-18T17:31:20 Added min files
Miles Johnson e962299c 2013-05-18T17:29:21 Updated PHP patterns Fixed PHP + Markup
Lea Verou cbe9e528 2013-05-19T01:48:31 Added minified version of Groovy
Lea Verou 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
Lea Verou 3f99c98e 2013-05-18T08:30:11 Merge pull request #89 from robfletcher/gh-pages Language definition for Groovy
Lea Verou 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.
Miles Johnson b4c67349 2013-05-17T19:21:25 Readded word boundaries
Miles Johnson 1318f799 2013-05-17T17:03:49 Improved selector patterns
Miles Johnson 3129ed87 2013-05-17T16:57:08 More example testing
Miles Johnson 519a2ba3 2013-05-16T22:26:39 Remove selector tag
Miles Johnson 45a54837 2013-05-16T21:08:06 Moved function to clike
Miles Johnson f181e903 2013-05-16T20:59:29 Added advanced selectors
Miles Johnson b1003de3 2013-05-16T12:19:58 More improvements and testing
Miles Johnson 9bc70c5e 2013-05-15T10:44:42 Moved CSS rules to an extras file
Miles Johnson 5f2d004c 2013-05-14T12:05:57 Added min files
Miles Johnson 15c80635 2013-05-14T12:03:58 Added class-name to clike Added PHP support
Miles Johnson 38803bd3 2013-05-14T11:38:36 Added min version
Miles Johnson f9abda28 2013-05-14T11:34:53 Added pseudo, hexcode, number and function matchers
dorfire 0df2df06 2013-05-14T11:44:17 deleted the duplicate occurrence of the "AS" keyword
Gregor Martynus 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
Gregor Martynus 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?
Lea Verou 801aab58 2013-05-11T04:37:44 Added parent access to wrap hook
william malo 8779ba84 2013-05-10T16:32:07 Added missing operators for c-like languages
Rob Fletcher 943a0cd4 2013-05-10T07:17:33 updated groovy syntax to take advantage of language argument now being passed to wrap callback
Lea Verou c3a69913 2013-05-09T21:01:17 Added language id to wrap hook
Rob Fletcher ab7fb9ba 2013-05-08T22:36:46 Language definition for Groovy
Andreas Rohner 3a14aa9d 2013-04-29T10:25:14 Merge remote-tracking branch 'upstream/gh-pages' into gh-pages Conflicts: code.js
Petros Kyladitis 83d16ffa 2013-04-22T17:06:26 Merge remote-tracking branch 'origin/gh-pages' into gh-pages Conflicts: code.js
Nicolas Gryman 503209ac 2013-03-25T23:33:17 fixed URLs in strings.
Maxime Thirouin 2de58b05 2013-03-18T07:35:52 Fixes some Sass issues Close #73, close #79
Andreas Rohner 47ffc24c 2013-03-16T18:39:06 Add C/C++ highlighting support
Andreas Rohner ab3aea56 2013-03-16T18:36:27 Add Bash shell script highlighting support
Petros Kyladitis 86ab8b7d 2013-02-08T02:09:30 add SQL syntax highlighters, update code.js, cut 2 bytes from python.min.js
Maxime Thirouin edbadbe0 2013-02-02T07:29:07 Add Sass (scss) support
Petros Kyladitis 813f27c8 2013-02-02T02:51:30 Update code.js, small improvements to prism-python.js & prism-python.min.js, revert prism.js to original
Petros Kyladitis a514c8d9 2013-02-02T01:27:47 Add Python syntax highlighters
Rose 92bede23 2013-01-27T19:47:43 Reorganized code
Rose 2fd39c7e 2013-01-26T21:22:09 Add coffeescript syntax hilighters
Lea Verou 358fbbd6 2013-01-27T03:50:38 Replaced iteration with Array#map
mseeboeck 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).
mseeboeck edb0f128 2012-12-17T09:03:32 Also changed the 2 corresponding files in /components.
David Lantner 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
Lea Verou 40ce3954 2012-11-13T16:30:49 Fixed bug with self-closing tags
Lea Verou 577a5890 2012-11-12T05:35:39 Fixed HTML highlighting bugs
Lea Verou 2099172d 2012-11-12T05:35:39 Fixed HTML highlighting bugs
Lea Verou 1cdfcb84 2012-11-11T04:25:56 Fixed #37
Lea Verou 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
Lea Verou 637322b2 2012-11-09T16:42:33 Um...changes. I don’t even remember *blush*
Lea Verou 02653e5c 2012-11-09T16:31:18 Fixed bug with minified files