components/prism-clike.js


Log

Author Commit Date CI Message
Bart Veneman 3c9155e6 2013-08-04T10:52:21 Added throw keyword to c-like and javascript
Miles Johnson 29e51df1 2013-07-03T12:16:14 Fixed clike greater than or equals
Miles Johnson 5c7d8061 2013-07-03T02:09:37 Polish fixes according to test cases
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
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 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 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 15c80635 2013-05-14T12:03:58 Added class-name to clike Added PHP support
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?
william malo 8779ba84 2013-05-10T16:32:07 Added missing operators for c-like languages
Nicolas Gryman 503209ac 2013-03-25T23:33:17 fixed URLs in strings.
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).
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