components


Log

Author Commit Date CI Message
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 3129ed87 2013-05-17T16:57:08 More example testing
Miles Johnson 45a54837 2013-05-16T21:08:06 Moved function to clike
Miles Johnson b1003de3 2013-05-16T12:19:58 More improvements and testing
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
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
Lea Verou c3a69913 2013-05-09T21:01:17 Added language id to wrap hook
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
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
Lea Verou 9ceed06f 2012-09-13T20:08:31 merge branch 'gh-pages' of https://github.com/LeaVerou/prism into gh-pages
Lea Verou 54fdc1f4 2012-09-13T20:06:11 Removed pointless trim()
Simon Sapin 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 `{`.
sebh c571149a 2012-08-07T16:22:23 improve number highlight
Sebastien Herblot 20778033 2012-08-05T08:47:24 fix * operator highlight for import a.b.*;
sebh 294cbaf9 2012-08-03T17:33:57 Added prism-java.min.js
sebh 201077e9 2012-08-03T17:25:09 Added Java syntax highlighter
Lea Verou ddd1eb89 2012-08-01T12:02:46 Applied #15 to prism-core.js
Lea Verou e1cd33df 2012-08-01T02:47:23 Made the page a bit more IE friendly, added a first version of the IE8 plugin (WIP)
Lea Verou c75bbc24 2012-07-31T19:08:31 Fixed bug with classnames
Lea Verou 9a218917 2012-07-31T17:48:52 Removed useless files
Lea Verou ec8fb796 2012-07-31T17:47:56 Added helper method Prism.languages.DFS
Lea Verou e95a85c0 2012-07-31T16:17:53 Merged the comment and line-comment tokens
Lea Verou c8795ed1 2012-07-31T12:25:32 Improved regex matching, docs updates
Lea Verou ea89ab60 2012-07-29T01:35:13 Minor improvements to Markup
Lea Verou 9eeeb7c6 2012-07-29T01:03:05 Moved inline CSS & JS to their language definitions
Lea Verou 54e2eeab 2012-07-29T00:26:50 Added (and documented) Prism.languages.insertBefore
Lea Verou 03548f7e 2012-07-27T04:25:21 Made url() highlighting more robust
Lea Verou 27ffa5b0 2012-07-27T03:24:09 Fixed serious highlighting bug, reduced known failures from 3 to 1
Lea Verou 4da6cfcd 2012-07-27T00:08:10 Removed useless code
Lea Verou 9f82e1c9 2012-07-26T19:13:47 Added more examples, added highlighting for entities, URLs and CSS strings
Lea Verou 6763cd53 2012-07-26T18:48:34 Fixed bug where block code wasn’t styled properly
Lea Verou 9ea52e2a 2012-07-26T18:41:49 Removed IE8 support
Lea Verou cfaf681d 2012-07-26T18:17:55 Removed the need for .prism
Lea Verou 9ea808ea 2012-07-23T20:20:40 Added url token in CSS
Lea Verou 1b5ab23a 2012-07-23T19:32:27 Added setting to turn automatic highlighting off and to set a default language
Lea Verou ae4b4812 2012-07-23T19:16:50 Fixed entity tooltip
Lea Verou bd4e8d15 2012-07-23T18:54:30 ALL THE THINGS! Most notably: Simple templating, API changes, show invisibles plugin, download (build) page
Lea Verou a4b9b918 2012-07-18T15:57:08 Added minified versions
Lea Verou 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.
Lea Verou f2339ea1 2012-07-15T22:36:05 Added line highlight plugin
Lea Verou 2c473547 2012-07-15T16:35:06 Fixed regexes further, documented lookbehind feature
Lea Verou 6f1dc184 2012-07-15T14:04:25 Fixed regex & single line comment conflicts
Lea Verou 2d530f0a 2012-07-13T15:18:28 Experimental highlighting of tab characters in JS code.
Lea Verou bdb8fae8 2012-07-13T15:11:03 Added hooks system, moved entity tooltips to the Markup language, as a plugin
Lea Verou 764fe408 2012-07-13T02:42:17 Made Prism.wrap() more extensible (See #8)
Lea Verou a97d26b2 2012-07-13T02:31:49 Added highlighting for CDATA sections
Lea Verou 2d57ff2a 2012-07-12T19:07:05 Added highlighting for doctypes & XML prolog, removed the iframed examples and replaced them with XHR
Lea Verou 6dc08f3d 2012-07-12T17:18:48 Renamed html to markup, since it’s also about XML
Lea Verou 6e9c4e1b 2012-07-12T17:12:58 Fixed horrible bug, added highlighting for XML namespaces
Lea Verou cdee2b54 2012-07-11T22:01:44 IE8 support
Lea Verou 8ecdd7c4 2012-07-11T14:22:23 Removed switch for automatic highlighting
Lea Verou 4039200f 2012-07-11T14:19:45 Added * and / operators
Lea Verou 28b5cbc9 2012-07-11T04:27:33 Fixed bug with single letter selectors
Lea Verou 27e5464c 2012-07-11T03:14:55 Safeguarded against Object.prototype additions
Lea Verou 4552f5c7 2012-07-10T22:48:14 First commit