|
48fac3b2
|
2020-06-12T15:58:46
|
|
Added a test for identifier support across all languages (#2371)
|
|
fdbc4473
|
2020-05-19T01:52:38
|
|
CSS Extras: Optimized `class` and `id` patterns (#2359)
|
|
e523f5d0
|
2020-05-09T02:42:24
|
|
CSS Extras: Renamed `attr-{name,value}` tokens and added tokens for combinators and selector lists (#2373)
|
|
8d2c5a3e
|
2020-03-10T15:11:13
|
|
Inline color: Support for (semi-)transparent colors and minor improvements (#2223)
- This changes the inline preview to include a background image, so (semi-)transparent colors can be identified as such instead of blending with the background color of the current theme.
- The black outline is now more transparent to better blend in with light themes.
- The `transparent` color was added to CSS Extras.
- This fixes the `parseHexColor` function.
|
|
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.
|
|
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.
|
|
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.
|
|
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`.
|
|
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.
|
|
245b59d4
|
2019-03-04T22:17:23
|
|
CSS: Highlight attribute selector (#1671)
This adds highlighting for CSS attributes selectors in CSS Extras
|
|
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`.
|
|
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.
|
|
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.
|
|
5edfd2f2
|
2017-10-22T14:25:35
|
|
CSS Extras: Regexp simplification
|
|
07a6806b
|
2017-05-24T09:05:27
|
|
Support CSS #RRGGBBAA (#1139)
Add support for CSS #RRGGBBAA notation.
|
|
13fed767
|
2016-07-07T09:09:51
|
|
CSS-extras: match attribute inside selectors
|
|
b1fd5bdc
|
2015-03-10T08:27:53
|
|
Removed unused global flag in all grammars
|
|
93530f85
|
2014-12-12T08:54:55
|
|
Undo changes in css, just fix css-extras instead
|
|
bae1210e
|
2014-05-24T12:33:50
|
|
Move function to base CSS [#237]
|
|
ee2c024e
|
2014-05-24T12:28:39
|
|
Make function matching a pattern [#239]
|
|
63e7a93b
|
2013-07-03T17:16:27
|
|
Use ? modifier instead
|
|
e6cd1c83
|
2013-07-03T16:57:30
|
|
Fix function order
|
|
6d05d897
|
2013-05-20T15:40:24
|
|
Improved pseudo elements
|
|
c1f60b0e
|
2013-05-18T21:47:01
|
|
Minor changes
|
|
a6b53a26
|
2013-05-18T18:01:16
|
|
Updated selector patterns
|
|
1318f799
|
2013-05-17T17:03:49
|
|
Improved selector patterns
|
|
519a2ba3
|
2013-05-16T22:26:39
|
|
Remove selector tag
|
|
f181e903
|
2013-05-16T20:59:29
|
|
Added advanced selectors
|
|
9bc70c5e
|
2013-05-15T10:44:42
|
|
Moved CSS rules to an extras file
|