components/prism-jsx.js

Branch


Log

Author Commit Date CI Message
Michael Schmidt 18c92048 2021-12-02T10:51:36 JSX: Move alias property (#3222)
Michael Schmidt 3c61c8f7 2021-10-14T14:01:11 ESLint: Added `regexp/no-useless-flag` rule (#3150)
Michael Schmidt e8d3b503 2021-06-27T14:56:07 ESLint: Added `regexp/strict` rule (#2944)
Michael Schmidt 18a00828 2021-06-13T19:53:03 ESLint: Added regexp plugin (#2924)
Michael Schmidt 74edb4e5 2021-05-14T12:40:12 ESLint: Added indent rule (#2881)
Michael Schmidt fd20dbe4 2021-05-01T14:53:38 ESLint: Added spacing rules (#2862)
Michael Schmidt b03e7eb0 2021-04-17T22:30:39 ESLint: Added semi rule (#2836)
Michael Schmidt 8dbbbb35 2021-03-05T23:38:23 Markup: Added support for DOM event attributes (#2702)
Michael Schmidt 9f59f52d 2021-02-07T16:21:13 JSX: Added support for general spread expressions (#2754)
Michael Schmidt 30b0444f 2021-01-29T14:52:23 JSX: Added support for comments inside tags (#2728)
Michael Schmidt e644178b 2020-12-28T18:19:11 Added test for polynomial backtracking (#2597)
Michael Schmidt 25bdb494 2020-11-04T11:51:00 TSX: Temporary fix for the collisions of JSX tags and TS generics (#2596)
Michael Schmidt 7a554b5f 2020-04-16T22:27:54 Fixed several cases of exponential backtracking (#2268)
0xc14m1z fd857e7b 2020-01-06T19:12:49 JSX: Improved spread operator in tag attributes (#2159) This allows any number of spaces around JSX attribute spread expressions.
Christophe Eymard f018cf04 2020-01-05T20:03:12 JSX: Made `$` a valid character for attribute names (#2144)
Michael Schmidt c187e229 2019-10-16T12:06:22 Added test for unused capturing groups (#1996) This adds a test that checks for unused capturing groups in patterns and another test which ensures that lookbehind groups are always the first thing being matched in a pattern.
Rex Zeng 4362e42c 2019-02-12T23:30:14 Support JSX/TSX class-name with dot (#1725) Adds class-name highlighting for JSX/TSX tag names containing dots.
Michael Schmidt 3e1a9a3d 2018-08-20T16:22:11 React component tags are styled as classes in JSX (#1519) The PR adds a class-name alias to all the tags of React components. Tags which start with an uppercase letter are considered React components. HTML tags remain unchanged. Fixes #1518.
Golmote 38ce1213 2018-05-15T20:27:53 JSX: Add support for fragments short syntax. Fix #1421
Golmote f1cd7c56 2018-04-27T08:56:19 JSX: Allow for two levels of nesting inside JSX tags. Fix #1408
Golmote b26bbb83 2018-03-22T08:42:16 JSX: Fix highlighting of empty objects. Fix #1364
Golmote 2b8321d3 2018-03-20T08:37:58 JSX: Add support for plain text inside tags (#1357) * JSX: Add support for plain text inside tags * JSX: Use a "plain-text" token to identify plain text * TSX: Add support for plain text * Fix test after merge
Golmote cc80ccda 2018-03-13T08:15:56 Remove most of the cloning occurrences in language definitions.
Golmote 05bf67dc 2018-03-08T09:05:21 JSX: Allow for one level of nested curly braces inside tag attribute value. Fix #1335
Golmote f41c5cd5 2017-11-29T08:35:55 JSX: Improve highlighting support. Fix #1235 and #1236
Golmote 28de4e2e 2017-10-22T14:49:30 JSX: Regexp optimisation + handle spread operator as a whole
Golmote b8c0a157 2017-07-05T19:55:16 JSX: Restore accidentally deleted regexp part in b0fe103
Golmote b0fe1036 2017-07-05T19:47:46 JSX: Improved performance for tags (when not matching) Fix #1152
Valtteri Laitinen 8aa2cc4a 2017-05-08T13:56:50 Replace [\w\W] with [\s\S] and [0-9] with \d in regexes (#1107) * Replace [\w\W] with [^] and [0-9] with \d in regexes * Replace [\s\S] with [^] * Replace [^] with [\s\S]
Golmote 867ea428 2017-03-02T08:26:05 JSX: Fix highlighting of attributes containing spaces
Vivek Kumar Bansal 561bceb5 2017-02-08T13:04:02 fixes #1061 JSX spread operator break (#1094) * fixes #1061 JSX spread operator break * simplify jsx tag regexp
Vivek Kumar Bansal 971dda7f 2015-12-29T10:40:06 Better Nesting in JSX attributes Credit @jquense
Golmote e135947c 2015-10-10T12:48:04 Run gulp and update tests after #801 merge
Golmote 90c75d5d 2015-08-26T07:42:03 JSX: Allow for one level of nesting. Fix #717
Golmote b1fd5bdc 2015-03-10T08:27:53 Removed unused global flag in all grammars
Golmote e444b56a 2015-01-19T18:57:25 JSX: change javascript alias
Vivek Kumar Bansal 875ad39f 2015-01-18T17:30:09 Added React JSX definition