components/prism-css-extras.min.js


Log

Author Commit Date CI Message
Michael Schmidt 2e0eff76 2020-02-07T16:44:48 CSS: Added support for the selector function (#2201) This adds support for CSS 4's selector function. The selectors passed to the function will now be highlighted as such.
Michael Schmidt 8403e453 2019-09-03T19:06:15 Added Inline color plugin (#2007) This adds a new plugin to display an inline preview of CSS colors as most IDEs do.
Michael Schmidt ebe363f4 2019-08-17T14:31:41 CSS Extras & PHP: Fixed too greedy number token (#2009) This fixes the too greedy number tokenization of CSS Extras which cause the placeholders of PHP (via markup templating) to be partly tokenized. The CSS extras number pattern was adjusted to solve the issue.
Michael Schmidt 5e5a3e00 2019-05-12T14:14:03 CSS-Extras: Added `even` & `odd` keywords to `n-th` pattern (#1872) `even` and `odd` are keywords which are also an `n-th` value. This adds it to the pattern which previously only captured values of the form `an+b`.
Michael Schmidt 70a40414 2019-03-10T22:15:10 CSS extras: Highlighting for pseudo class arguments (#1650) This adds highlighting for pseudo class arguments, selector punctuation, and n-th expressions.
Michael Schmidt 3e00bb9c 2019-03-07T15:22:30 Rebuilt Prism (#1794) This is a rebuilt of Prism to update minified files.
Michael Schmidt 245b59d4 2019-03-04T22:17:23 CSS: Highlight attribute selector (#1671) This adds highlighting for CSS attributes selectors in CSS Extras
Michael Schmidt 9de47d3a 2018-12-03T14:20:07 Fixed CSS extra variable (#1649) Details are described [here](https://github.com/PrismJS/prism/pull/1450#discussion_r238257002). I decided to go with the property variant, highlighting custom property declarations as `variable`.
Rex Zeng 5fcee966 2018-12-03T20:55:22 Identify CSS units and variables (#1450) Assume CSS unit is a word or `%` after a number, CSS variable is a word inside `var()`. `%` is not recognized as a part of number, but the leading `-` is. When using minus operator in `calc` function, we must type a space in both sides of `-` (value like `calc(100%-5px)` is wrong), so if we met a pattern like `-[\d.]` in a CSS value (not in selector, rule or variable), it must be the start of a negative number.
Michael Schmidt e2f2fd19 2018-12-01T21:19:37 Reuse CSS selector pattern in CSS Extras (#1637) The CSS extras for the selector now use the CSS selector pattern.
Golmote 5edfd2f2 2017-10-22T14:25:35 CSS Extras: Regexp simplification
Golmote 16ce4b33 2017-07-05T19:55:44 Run gulp
bsmith 98867cf0 2017-05-29T15:28:00 initial commit
Golmote 13fed767 2016-07-07T09:09:51 CSS-extras: match attribute inside selectors
Golmote b1fd5bdc 2015-03-10T08:27:53 Removed unused global flag in all grammars
Golmote 11a79455 2014-12-20T20:22:03 Updated minified file
Ben Briggs 7cfd29a9 2014-05-26T11:20:55 Rebuild minified files.
Lea Verou 34365bfc 2014-05-24T15:57:07 Minified files
Miles Johnson 63e7a93b 2013-07-03T17:16:27 Use ? modifier instead
Miles Johnson e6cd1c83 2013-07-03T16:57:30 Fix function order
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 1318f799 2013-05-17T17:03:49 Improved selector patterns
Miles Johnson 519a2ba3 2013-05-16T22:26:39 Remove selector tag
Miles Johnson f181e903 2013-05-16T20:59:29 Added advanced selectors
Miles Johnson 9bc70c5e 2013-05-15T10:44:42 Moved CSS rules to an extras file