components/prism-jsx.js


Log

Author Commit Date CI Message
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