components/prism-css.js


Log

Author Commit Date CI Message
Golmote 15760e18 2015-07-08T20:23:32 C-like and CSS: Fixes for \r\n
Golmote f2e2718f 2015-07-08T19:39:35 CSS: Selector regexp should not include last spaces before brace
Golmote 901812c1 2015-07-08T19:35:57 CSS: Improved url and string regexps + handle \r
Golmote e2540889 2015-07-08T19:32:10 CSS: Improve atrules
Golmote cd0273ee 2015-07-08T19:26:35 CSS: Highlight parentheses as punctuation
Golmote b1fd5bdc 2015-03-10T08:27:53 Removed unused global flag in all grammars
Golmote a1ebf758 2015-02-25T19:58:27 Fix style attribute highlighting
Golmote b794724c 2015-01-21T19:07:43 CSS: Move string above property to prevent incorrect highlighting of property-like substrings
Golmote a12fbbdd 2015-01-21T19:06:05 CSS: Don't highlight multi-line urls that are not enclosed between quotes.
Golmote e4a13e5c 2015-01-20T22:43:54 Allow multi-line url in CSS
Golmote 4d2cdad3 2015-01-11T20:34:58 Merge branch 'master' into prism-css Conflicts: components/prism-css.min.js
Golmote 9487b5be 2015-01-09T08:11:21 Removed unneeded escapes in RegExps, added some semicolons
Golmote 45815098 2015-01-08T09:03:52 Allow multiline strings in CSS Fixes #457
Golmote 93530f85 2014-12-12T08:54:55 Undo changes in css, just fix css-extras instead
Golmote 0c2a2085 2014-12-09T20:53:18 Added color and number to CSS
Andreas Rohner e2e36855 2014-11-15T19:56:20 Revert invalid move of the language-css alias One of the language-css aliases, which was moved inwards by the previous patch was actually in the right place. This patch reverts the change to correct the newly introduced error of the previous patch.
Andreas Rohner 3154f9b9 2014-11-15T19:09:40 Move invalid alias declarations, which cause HTML highlighting to fail The alias declarations in prism-javascript.js and prism-css.js are in the wrong place and must be moved inside of the pattern object. Otherwise they get injected into the markup grammar. The execution fails, because the alias is a string and not a RegExp.
Lea Verou 23edcc8c 2014-11-14T20:10:05 Added language-xxx aliases in nested language refs to ease styling
Lea Verou 4b9e11c6 2014-11-14T19:19:31 CSS highlighting in HTML style attribute
Miles Johnson 7b20bc1a 2014-05-24T12:55:05 Use lookahead for function matching
Miles Johnson bae1210e 2014-05-24T12:33:50 Move function to base CSS [#237]
Lea Verou d44312b6 2014-05-24T14:25:49 Converted the CSS, SCSS and JS grammars according to #258
Lea Verou b955edd4 2013-06-14T14:04:51 Allowed numbers in properties (for CSS variables)
Lea Verou dceab61d 2013-06-14T11:33:07 Tweaked CSS parsing for better LESS highlighting, added relevant example
Miles Johnson 9bc70c5e 2013-05-15T10:44:42 Moved CSS rules to an extras file
Miles Johnson f9abda28 2013-05-14T11:34:53 Added pseudo, hexcode, number and function matchers
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 `{`.
Lea Verou 9eeeb7c6 2012-07-29T01:03:05 Moved inline CSS & JS to their language definitions
Lea Verou 03548f7e 2012-07-27T04:25:21 Made url() highlighting more robust
Lea Verou 9f82e1c9 2012-07-26T19:13:47 Added more examples, added highlighting for entities, URLs and CSS strings
Lea Verou 9ea808ea 2012-07-23T20:20:40 Added url token in CSS
Lea Verou 28b5cbc9 2012-07-11T04:27:33 Fixed bug with single letter selectors
Lea Verou 4552f5c7 2012-07-10T22:48:14 First commit