|
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.
|
|
f0a10669
|
2019-05-15T13:41:05
|
|
CSS: Extended `url` inside (#1874)
This extends the highlighting of the CSS `url` pattern adding highlighting for punctuation and the `url` function.
|
|
74050c68
|
2019-05-12T14:10:17
|
|
CSS: Removed useless flag and modifier (#1875)
This cleans up CSS' at-rule pattern.
|
|
3e00bb9c
|
2019-03-07T15:22:30
|
|
Rebuilt Prism (#1794)
This is a rebuilt of Prism to update minified files.
|
|
a2d445d0
|
2019-03-06T13:22:08
|
|
CSS: Selectors can contain any string (#1638)
This fixes that certain attribute value strings break the selector pattern.
|
|
57127701
|
2019-03-04T23:12:46
|
|
Markup: Added support for CSS and JS inside of CDATAs (#1660)
This adds support for CSS/JS inside of (any number of) CDATAs.
|
|
4f6f3c7d
|
2018-12-24T17:28:06
|
|
Allow multiline CSS at-rules (#1676)
Allows for CSS at-rules containing line breaks.
|
|
7ea2ff28
|
2018-11-24T10:54:26
|
|
Added the comma to the list of CSS punctuation
|
|
bfbe4464
|
2018-10-24T04:08:51
|
|
Invoke `callback` after `after-highlight` hook (#1588)
Previously, `callback`, as passed to `Prism.highlightElement`, would get called before
all of the hooks had been run. This moves it after all the hooks, so it can truly be considered
a "complete" callback.
This could be a breaking change for any userland modifications that were expecting `callback`
to fire before plugins, but we expect this change to mostly conform with user expectations and
consider this a bugfix..
|
|
c1d6cb85
|
2018-10-19T04:06:02
|
|
Fix tokenizing !important (#1585)
Updates the regex to ensure that when `!important` sits next
to a property with no spaces, it's still tokenized correctly.
|
|
cc80ccda
|
2018-03-13T08:15:56
|
|
Remove most of the cloning occurrences in language definitions.
|
|
7dc1e453
|
2017-12-05T08:58:11
|
|
CSS and JS: Make CSS and JS inclusions in Markup greedy. Fix #1240
|
|
f234ea40
|
2017-11-20T23:34:38
|
|
Unicode characters in CSS properties (#1227)
* Unicode characters in CSS properties
Highlight Unicode characters in CSS properties correctly, for example “.foo { --bär: 3 }”.
Optimized the “function” regex in the JavaScript definition: replaced “_a-zA-Z0-9” with “\w”, removed uppercase “A-Z” because the “i” flag is set.
Used that regex for CSS but removed “$” and added “-”.
* Add a test
* Add minified versions
* Update prism.js
* Revert "Update prism.js"
This reverts commit 241464ba1ba5e350b8483d926e73364f9e9d99c4.
* Update prism.js too
|
|
438926c3
|
2017-10-22T14:28:13
|
|
CSS: Regexp simplification + don't use captures if not needed + handle multi-line style attributes
|
|
65cbaa95
|
2017-05-08T13:27:57
|
|
Run gulp after #1107
|
|
e57e26d5
|
2016-08-17T15:56:41
|
|
Makes CSS strings greedy. Fix #1013
|
|
29643f4e
|
2015-10-06T08:48:21
|
|
Simplify patterns for <style> and <script> tags
|
|
15760e18
|
2015-07-08T20:23:32
|
|
C-like and CSS: Fixes for \r\n
|
|
f2e2718f
|
2015-07-08T19:39:35
|
|
CSS: Selector regexp should not include last spaces before brace
|
|
901812c1
|
2015-07-08T19:35:57
|
|
CSS: Improved url and string regexps + handle \r
|
|
e2540889
|
2015-07-08T19:32:10
|
|
CSS: Improve atrules
|
|
cd0273ee
|
2015-07-08T19:26:35
|
|
CSS: Highlight parentheses as punctuation
|
|
b1fd5bdc
|
2015-03-10T08:27:53
|
|
Removed unused global flag in all grammars
|
|
a1ebf758
|
2015-02-25T19:58:27
|
|
Fix style attribute highlighting
|
|
b794724c
|
2015-01-21T19:07:43
|
|
CSS: Move string above property to prevent incorrect highlighting of property-like substrings
|
|
a12fbbdd
|
2015-01-21T19:06:05
|
|
CSS: Don't highlight multi-line urls that are not enclosed between quotes.
|
|
e4a13e5c
|
2015-01-20T22:43:54
|
|
Allow multi-line url in CSS
|
|
2d0e0341
|
2015-01-11T20:39:15
|
|
Run gulp
|
|
c8e3c2d7
|
2015-01-09T08:11:48
|
|
Run gulp
|
|
45815098
|
2015-01-08T09:03:52
|
|
Allow multiline strings in CSS
Fixes #457
|
|
93530f85
|
2014-12-12T08:54:55
|
|
Undo changes in css, just fix css-extras instead
|
|
0c2a2085
|
2014-12-09T20:53:18
|
|
Added color and number to CSS
|
|
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.
|
|
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.
|
|
23edcc8c
|
2014-11-14T20:10:05
|
|
Added language-xxx aliases in nested language refs to ease styling
|
|
4b9e11c6
|
2014-11-14T19:19:31
|
|
CSS highlighting in HTML style attribute
|
|
7cfd29a9
|
2014-05-26T11:20:55
|
|
Rebuild minified files.
|
|
34365bfc
|
2014-05-24T15:57:07
|
|
Minified files
|
|
d44312b6
|
2014-05-24T14:25:49
|
|
Converted the CSS, SCSS and JS grammars according to #258
|
|
b955edd4
|
2013-06-14T14:04:51
|
|
Allowed numbers in properties (for CSS variables)
|
|
dceab61d
|
2013-06-14T11:33:07
|
|
Tweaked CSS parsing for better LESS highlighting, added relevant example
|
|
9bc70c5e
|
2013-05-15T10:44:42
|
|
Moved CSS rules to an extras file
|
|
38803bd3
|
2013-05-14T11:38:36
|
|
Added min version
|
|
02653e5c
|
2012-11-09T16:31:18
|
|
Fixed bug with minified files
|
|
9eeeb7c6
|
2012-07-29T01:03:05
|
|
Moved inline CSS & JS to their language definitions
|
|
03548f7e
|
2012-07-27T04:25:21
|
|
Made url() highlighting more robust
|
|
9f82e1c9
|
2012-07-26T19:13:47
|
|
Added more examples, added highlighting for entities, URLs and CSS strings
|
|
9ea808ea
|
2012-07-23T20:20:40
|
|
Added url token in CSS
|
|
a4b9b918
|
2012-07-18T15:57:08
|
|
Added minified versions
|