Log

Author Commit Date CI Message
Michael Schmidt 1f91868e 2021-01-17T14:29:35 Added support for DOT (#2690)
Jxck 4e7b2a82 2021-01-17T01:45:05 HTTP: Allow root path in request line (#2711)
Matthew Lehner 59f725d7 2021-01-10T04:57:59 Elixir: Added `defdelagate` keyword and highlighting for function/module names (#2709)
Taegon Kim 72962701 2021-01-08T22:22:50 Added support for V langauge (#2687)
0xflotus 6e34771f 2021-01-07T19:34:18 SQL: Added `ILIKE` operator (#2704) Added `ILIKE` operator to sql keyword list and sorted the list alphabetically.
Ayesh Karunaratne 01af04ed 2021-01-07T02:01:16 PHP: Numeral syntax improvements (#2701) Improves numeral literal handling in the Prism PHP component in two ways: 1. Since PHP 7.4, it is possible to use [underscore numeric separator](https://php.watch/versions/7.4/underscore_numeric_separator). Prism correctly handles this for decimal numbers, but not for binary, octal, and hex numerals although PHP supports the underscore separator for binary, octal, and hex numeric literals as well. 2. In upcoming PHP 8.1, PHP supports an [explicit octal numeral prefix `0o`/`0O`](https://php.watch/versions/8.1/explicit-octal-notation). The existing `0` prefix is not removed. This commit updates the PHP number regex to accommodate both cases above, and expands the tests for new syntax.
Michael Schmidt 0e61a7e1 2021-01-03T18:18:28 Scheme: Added support for high Unicode characters (#2693)
Michael Schmidt cf28d1b2 2021-01-03T13:12:26 JSON: Fixed backtracking issue in Safari (#2691)
akamittal 1506f345 2021-01-02T18:29:08 Website: Added React native tutorial (#2683)
Michael Schmidt c83fd0b8 2021-01-01T18:19:06 Shell session: Commands prefixed with a path are now detected (#2686)
mAAdhaTTah 88a17b4f 2020-12-31T13:46:45 1.23.0
Michael Schmidt 5dc7b423 2020-12-31T19:40:08 Changelog v1.23.0 (#2681)
Michael Schmidt 37b9c9a1 2020-12-31T14:10:09 PHP: Fixed exponential backtracking (#2684)
Michael Schmidt 89f1e182 2020-12-31T10:14:35 Latte: Fixed exponential backtracking (#2682)
Michael Schmidt 0a3932fe 2020-12-30T17:43:57 C-like: Made all comments greedy (#2680)
Michael Schmidt cdb24abe 2020-12-28T19:25:05 Line Highlight: Fixed print background color (#2668)
Michael Schmidt e644178b 2020-12-28T18:19:11 Added test for polynomial backtracking (#2597)
Michael Schmidt b40f8f4b 2020-12-23T14:54:50 Line highlight: Fixed top offset in combination with Line numbers (#2237)
Michael Schmidt 2af3e2c2 2020-12-22T20:52:55 Markdown: Improved URL tokenization (#2678) It now tokenizes all parts of a URL except for braces.
Michael Schmidt df0738e9 2020-12-22T19:53:18 Test page: Don't trigger ad-blockers with class (#2677) A selector `.share-wrapper` seems to be in one of the common block lists, so I just renamed the wrapper from "share-wrapper" to "link-wrapper". This should prevent ad-blockers from blocking our "Share" link.
Michael Schmidt b5f4f10e 2020-12-22T17:27:14 Test page: Added "Share" option (#2575) This adds a link and a small popup to share the current state of the test page via a compact link.
Michael Schmidt 0604793c 2020-12-22T11:08:46 New `start` script to start local server (#2491)
Michael Schmidt 8828500e 2020-12-22T10:54:55 Tests: Added strict checks for `Prism.languages.extend` (#2572)
Michael Schmidt 7266e32f 2020-12-22T10:50:39 Treeview: Fixed icons on dark themes (#2631)
Michael Schmidt 7f23ef3d 2020-12-22T10:17:05 Fixed Danger CI for forks (#2638)
RunDevelopment 990f48f5 2020-12-15T21:48:39 Fixed build (Sorry guys...)
Michael Schmidt 071232b4 2020-12-15T21:46:07 Readme: Added alternative link for Chinese translation Credit to @edukisto who suggested this in #2674.
dependabot[bot] fc579990 2020-12-11T20:06:01 Bump ini from 1.3.5 to 1.3.7 (#2672)
edukisto 2ea202b9 2020-12-05T02:26:55 README: Removed broken icon for Chinese translation (#2670) The icon of the link to a Chinese translation was broken and this removes the icon and replaces it with a simple "简体中文" meaning "Simplified Chinese".
Lea Verou 9f82de50 2020-12-03T11:09:29 thousands -> millions We do have 3 million weekly downloads on npm, so I think "thousands" was quite an understatement at this point.
edukisto f1541342 2020-12-01T23:10:29 CSP: Added missing directives and keywords (#2664) This adds missing CSP and UISecurity directives and keywords.
edukisto a7ccc16d 2020-11-30T21:14:26 CSP: Do not highlight directive names with adjacent hyphens (#2662) CSP tokens used `\b` to assert word boundaries but this is incorrect as CSP tokens may contain hyphens (`-`). This replaces the assertions will lookarounds that address the issue.
Michael Schmidt e01ecd00 2020-11-29T00:14:35 Scheme: Fixed number pattern (#2648)
Michael Schmidt 05afbb10 2020-11-29T00:12:15 Added test for exponential backtracking (#2590) This adds a simple test to detect certain causes of exponential backtracking.
Michael Schmidt 8e76a978 2020-11-28T23:23:46 Shell-session: Fixed false positives because of links in command output (#2649)
Michael Schmidt add3736a 2020-11-28T23:11:58 Unescaped Markup: More doc regarding comments (#2652) This makes the explanation of the usage of comments clearer and gives examples.
Michael Schmidt 8e660495 2020-11-28T23:07:22 Website: Added and updated documentation (#2654) I updated a few of the entries in the "Full list of features" section (consistent formatting, a bit of grammar, nothing big). For some reason, we had both - "Highlights embedded languages (e.g. CSS inside HTML, JavaScript inside HTML)" and - "Highlights nested languages (CSS in HTML, JavaScript in HTML)" in there. They are sort of the same, so I removed one. I also added a note regarding escaping and gave the manual highlighting section its own heading.
Michael Schmidt 0bb4f096 2020-11-28T23:05:53 JavaStackTrace: Added support stack frame element class loaders and modules (#2658)
Mariano de Achaval 0803525b 2020-11-27T15:00:35 Added support for DataWeave language (#2659)
Michael Schmidt 24574406 2020-11-26T00:32:48 Core: Moved pattern matching + lookbehind logic into function (#2633)
Michael Schmidt 5cf9cfbc 2020-11-25T23:53:33 Markdown: Added support for YAML front matter (#2634)
Michael Schmidt 8fa8dd24 2020-11-25T22:59:40 Core: Fixed bug with greedy matching (#2632)
dreammaster82 3f4ae00d 2020-11-24T19:41:10 File Highlight: Fixed IE compatibility problem (#2656) The File Highlight plugin used the `Element#matches` which isn't supported by IE11, so a small polyfill was added.
Adam Kudrna deb238a6 2020-11-23T21:07:44 SCSS: Added support for Sass modules (#2643)
Michael Schmidt 8bfcc819 2020-11-21T01:17:39 Tests: Better pretty print (#2600) This is a major improvement for the pretty-printer. The main change is that `TokenStreamTransformer.prettyprint` now takes a Prism token stream instead of a simplified token stream. This means that it has a lot more information to work with and it uses that information. It mostly behaves like the old pretty-printer with 3 main differences: 1. Tokens that contain a nested token stream that only contains a single string are printed as one line. Example: `["namespace", ["java"]]` 2. The pretty-printer can now glue tokens together so that they are printed in a single line. Example: `["number", "100"], ["operator", ".."], ["number", "100"]` 3. Line breaks in the input code may now cause empty lines in the output. Previously, only blank strings containing more at least 2 line breaks produce empty lines. This helps readability as it groups tokens together.
Michael Schmidt f0e2b70e 2020-11-20T17:09:54 Added support for Apex (#2622)
Osip Fatkullin a5107d5c 2020-11-15T20:28:34 Kotlin: Added support for backticks in function names (#2489)
nkalinos f217ab75 2020-11-13T16:45:21 README: Grammar adjustments (#2629)
Arend van Beelen jr 8831c706 2020-11-12T20:43:52 Added PromQL language (#2628)
James DiGioia 9df20c5e 2020-11-09T09:33:41 Added Dangerfile and provide bundle size info (#2608)
Michael Schmidt 2d3a1267 2020-11-06T23:50:40 Tests: Fixed sorted language list test (#2623)
Michael Schmidt 7951ca24 2020-11-04T21:54:24 Scheme: Fixed function and function-like false positives (#2611)
Michael Schmidt 7a74497a 2020-11-04T21:50:43 Made Autoloader and Diff Highlight compatible (#2580)
Michael Schmidt 0889bc7c 2020-11-04T21:44:48 Java: Improved package and class name detection (#2599)
Michael Schmidt fc602822 2020-11-04T17:37:13 Unescaped Markup: Refactoring (#2445)
Michael Schmidt 89ebb0b7 2020-11-04T17:28:20 PHP: Removed C-like dependency (#2619)
Michael Schmidt 0df60be1 2020-11-04T17:18:23 Tests: Stricter pattern for nice-token-names test (#2588)
Michael Schmidt 25bdb494 2020-11-04T11:51:00 TSX: Temporary fix for the collisions of JSX tags and TS generics (#2596)
Michael Schmidt 129faf5c 2020-11-04T11:48:51 C: Better class name and macro name detection (#2585)
Michael Schmidt 8e1f38ff 2020-11-04T11:44:43 Website: Updated and improved guide on "Extending Prism" page (#2586)
Daniel Morell 00bf00e3 2020-10-26T14:49:26 Apache Configuration: Update directive-flag to match '=' (#2612)
Michael Schmidt c2f6a644 2020-10-25T23:42:25 Fixed multiple cases of vulnerable regexes (#2584)
James DiGioia 69132045 2020-10-24T18:08:21 Migrate from TravisCI -> GitHub Actions (#2606) This moves the test suite from Travis -> GitHub Actions. The Workflow is essentially the same as what we had on Travis, but split into two jobs.
Michael Schmidt 7cdfe556 2020-10-24T17:54:14 Line numbers: Fixed null reference (#2605)
Jeremie Knuesel 093c8175 2020-10-23T20:58:36 Julia: Removed constants that are not exported by default (#2601) * Remove Julia constants that are not exported by default * Julia: build and fix test
Tom Pavelec df922d90 2020-10-16T22:20:59 PHP: Added support for PHP 8.0 features (#2591)
Alexandre Segura f59a85f1 2020-10-15T15:54:19 Set type="button" attribute for copy to clipboard plugin. (#2593) When using Prism + copy to clipboard inside a HTML form, the form is submitted when copying. It's because by default the button is seen as a submit button. Adding the `type="button"` attribute prevents this.
Michael Schmidt b04cbafe 2020-10-13T14:26:34 CSS: Better HTML `style` attribute tokenization (#2569)
Michael Schmidt 73f81c89 2020-10-13T14:24:24 Java: Added Java 15 keywords (#2567)
Tom Pavelec 38808e64 2020-10-13T14:03:42 PHP: Added support for PHP 7.4 + other major improvements (#2566)
mAAdhaTTah 38f42dd6 2020-10-10T14:25:16 1.22.0
Michael Schmidt 6ab7ab12 2020-10-10T19:00:19 Changelog for v1.22.0 (#2579)
Jake Pfohl 655f985c 2020-10-10T10:46:30 Website: Added new SB101 tutorial replacing the Crambler one (#2576)
Ayesh Karunaratne 1761513e 2020-10-05T18:01:19 PHP: Added `match` keyword (PHP 8.0) (#2574) PHP introduces a new [`match` keyword in PHP 8.0](https://php.watch/versions/8.0/match-expression).
Tanner Dolby 8ae6a4ba 2020-10-01T12:30:04 Website: Fix typo on homepage by adding missing word add (#2570)
Michael Schmidt 59853a52 2020-10-01T12:33:11 YAML: Improved key pattern (#2561)
Michael Schmidt a409245e 2020-10-01T12:32:22 Show Language: Added title for plain text (#2555)
Michael Schmidt 35cbc02f 2020-09-22T16:50:57 Processing: Fixed function pattern (#2564)
Michael Schmidt 6b47133d 2020-09-22T16:50:32 Match braces: Fixed JS interpolation punctuation (#2541)
Michael Schmidt cb75d9e2 2020-09-13T23:26:33 Added support for SML (#2537)
Michael Schmidt 3b4f14ca 2020-09-13T23:25:43 Rust: Fixed Unicode char literals (#2550)
Aayan 4d31e22a 2020-09-11T12:07:11 Added support for Birb (#2542)
Michael Schmidt bfb36748 2020-09-11T15:24:20 Shell-Session: Added aliases (#2548)
Michael Schmidt d36ea993 2020-09-11T15:15:56 Autoloader: Fixed file detection regexes (#2549)
Michael Schmidt f62ca787 2020-08-31T17:56:46 Regex: Changed how languages embed regexes (#2532)
Michael Schmidt bf169e5f 2020-08-31T17:49:09 JSDoc: Fixed line ends (#2523)
Michael Schmidt e4f6ccac 2020-08-30T15:08:38 Scheme: Added support for R7RS syntax (#2525)
Michael Schmidt fa2225ff 2020-08-30T14:49:51 Removed duplicate alternatives in various languages (#2524)
Sri Harsha Chilakapati ad748a00 2020-08-30T18:16:21 Added PureScript language definition (#2526)
Michael Schmidt e023044c 2020-08-28T18:38:14 Haskell: Improvements (#2535)
Michael Schmidt c51ababb 2020-08-27T23:51:16 JS Extras: Highlight import and export bindings (#2533)
Michael Schmidt bcef22af 2020-08-27T23:11:47 JS Extras: Added control-flow keywords (#2529)
Michael Schmidt 206dc80f 2020-08-27T19:16:21 Docs: Minor improvement (#2513)
Michael Schmidt 5ad6cb23 2020-08-27T19:14:55 Custom class: Improved doc (#2512)
Michael Schmidt 6c921801 2020-08-27T19:14:20 Shell session & bash: Highlight all commands after the start of any Heredoc string (#2509)
Michael Schmidt bafab634 2020-08-17T16:22:21 Tests: Added an option to accept the actual token stream (#2515)
Barilko Vitaliy 5c33f0bb 2020-08-17T15:39:02 Added support for BSL (1C:Enterprise) (#2520)
Dmitry Eroshenko 004eaa74 2020-08-14T00:00:21 Added support for MongoDB syntax (#2518)
Michael Schmidt 2da2beba 2020-08-12T13:10:38 Added support for Stan (#2490)
Daniel 'Eisbehr' Kern bf115f47 2020-08-11T15:33:48 Added support for TypoScript (#2505)