components/prism-css.js


Log

Author Commit Date CI Message
Golmote 9487b5be 2015-01-09T08:11:21 Removed unneeded escapes in RegExps, added some semicolons
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