Log

Author Commit Date CI Message
Michael Schmidt dbf70515 2021-03-21T16:58:13 Core: Add `tabindex` to code blocks to enable keyboard navigation (#2799)
Michael Schmidt 7e5f78ff 2021-03-21T16:50:31 Added support for COBOL (#2800)
Michael Schmidt 2bc6475b 2021-03-21T16:47:49 Added support for Generic log files (#2796)
Michael Schmidt 1a2347a3 2021-03-21T16:44:25 Added support for OpenQasm (#2797)
Michael Schmidt f9b69528 2021-03-21T16:41:33 Added support for CSV (#2794)
Dmitry Surkov f84c49c5 2021-03-18T16:54:08 Added support for Nevod (#2798)
XojoGermany e32e043b 2021-03-17T17:03:48 Xojo: Added last missing Keyword "Selector" (#2807)
Brian Egan d0bcd074 2021-03-17T16:54:04 Dart: Improved support for classes & generics (#2810)
Michael Schmidt 933af805 2021-03-17T11:54:14 Tests: Stricter `components.json` tests (#2758)
Michael Schmidt 4d7f75b0 2021-03-17T11:48:40 Copy to Clipboard: Added support for custom styles (#2789)
Michael Schmidt 5943f4cb 2021-03-17T11:40:37 Nginx: Complete rewrite (#2793)
Michael Schmidt e5cfdb4a 2021-03-17T11:21:02 Bash: Fixed single-quoted strings (#2792)
Michael Schmidt d298d46e 2021-03-17T11:13:07 Previewers: Use `classList` instead of `className` (#2787)
Michael Schmidt d5e14e1a 2021-03-17T11:10:56 Copy to clipboard: Removed ClipboardJS dependency (#2784)
XojoGermany 459365ec 2021-03-17T00:43:23 Xojo: Added missing keywords (#2805)
edukisto 99a21dc5 2021-03-13T18:11:19 Added support for False (#2802)
Michael Schmidt a68f1fb6 2021-03-10T11:28:50 VB.Net: Improved strings, comments, and punctuation (#2782)
JordanSh e38986f9 2021-03-07T20:34:29 Added support for Rego (#2624)
Michael Schmidt 8dbbbb35 2021-03-05T23:38:23 Markup: Added support for DOM event attributes (#2702)
Michael Schmidt 970674cf 2021-03-05T23:23:17 Added support for plaintext (#2738)
Michael Schmidt a1209930 2021-03-05T23:16:57 Website: Improved basic usage section (#2777)
Michael Schmidt bf4e7ba9 2021-03-05T16:44:13 Added support for ICU message format (#2745)
Michael Schmidt d85e30da 2021-03-05T16:38:11 Updated refa + fixed 2 cases of exp backtracking (#2774)
edukisto 42d24fa2 2021-03-02T13:03:17 INI: Consistently mimic Win32 INI parsing (#2779)
Samuel Gordalina e6c0d298 2021-03-02T01:49:34 Elixir: Added missing keyword and other improvements (#2773)
Michael Schmidt 88fa72cf 2021-02-26T13:43:27 C++: Added missing keywords and modules (#2763)
κeen e9314415 2021-02-23T20:44:32 Added support for Idris (#2755)
Tom Pavelec 8019e2f6 2021-02-19T17:41:31 PHP: Improved constant support for PHP 8.1 enums (#2770) This improves the highlighting of PHP 8.1 enums and class constants.
Matthew J. Clemente b0a6ec85 2021-02-19T11:11:51 Added support for CFScript (#2771)
Ayesh Karunaratne f79b0eef 2021-02-18T20:35:36 PHP: Added support for PHP 8.1 enums (#2752)
edukisto 3419fb77 2021-02-13T17:14:46 Added KuMir (#2760)
Michael Schmidt 45b0e82a 2021-02-12T21:30:45 Dangerfile: Trim merge base (#2761)
Michael Schmidt 0feb266f 2021-02-12T15:08:57 Dangerfile: Fixed how changed files are determined (#2757)
Tim Roesner cf354ef5 2021-02-11T10:17:35 Swift: Added `some` keyword (#2756)
Michael Schmidt 9f59f52d 2021-02-07T16:21:13 JSX: Added support for general spread expressions (#2754)
Michael Schmidt 1dfc8271 2021-02-07T14:54:09 HTTP: Fixed body not being highlighted (#2734)
Michael Schmidt ccc73ab7 2021-02-07T14:52:25 Line Highlight: Fixed linkable line numbers not being initialized (#2732)
Dym Sohin ec9767d6 2021-02-04T17:17:43 Website: Updated URL in Autolinker example (#2751)
edukisto 266cc700 2021-02-01T15:18:06 Readme: Update link to Chinese translation (#2749)
edukisto 2cb909e1 2021-01-31T19:03:55 Make copy-to-clipboard configurable with multiple attributes (#2723) Resolves #1438. Makes the `copy-to-clipboard` plugin consider the following HTML attributes: - `data-prismjs-copy`, - `data-prismjs-copy-error`, - `data-prismjs-copy-success`, - `data-prismjs-copy-timeout`. Use those attributes to translate the toolbar for the plugin.
Michael Schmidt fd1081d2 2021-01-29T15:01:24 Added support for Squirrel (#2721)
Michael Schmidt 2b355c98 2021-01-29T14:57:36 Markdown: Workaround for incorrect highlighting due to double `wrap` hook (#2719) The hook that highlights code blocks in markdown code was unable to handle code blocks that were highlighted already. The hook can now handle any existing markup in markdown code blocks.
Michael Schmidt 30b0444f 2021-01-29T14:52:23 JSX: Added support for comments inside tags (#2728)
Michael Schmidt 022f90a0 2021-01-29T14:49:40 JavaScript: Improved contextual keywords (#2713)
Michael Schmidt 93dd83c2 2021-01-29T14:47:05 Docker: Improvements (#2720)
Bertrand Martin 18c67b49 2021-01-27T21:13:03 Added support for PSL, PATROL Scripting Language (#2739)
Michael Schmidt bbc77d19 2021-01-24T15:51:37 Added support for URIs (#2708)
Michael Schmidt b37987d3 2021-01-24T15:42:50 Core: Fixed greedy rematching reach bug (#2705)
Michael Schmidt 3f7d7453 2021-01-24T15:40:08 Added support for ChaiScript (#2706)
Tom Pavelec 04ef309c 2021-01-20T20:12:58 PHP: Class names at the start of a string are now highlighted correctly (#2731) Some class names at the start of the input string were not detected correctly due to the way greedy matching works. This fixes the issue by splitting the `class-name` rule into two rules, one before and one after the `keyword` rule that interfered and caused the issue.
Jxck 6183fd9b 2021-01-19T00:43:03 HTTP: More granular tokenization (#2722)
Michael Schmidt 7a790bf9 2021-01-18T14:28:24 Copy to clipboard: Fixed highlighting (#2725) The main code block on the page was declared with the wrong language.
Michael Schmidt a5d7178c 2021-01-17T14:34:24 F#: Fixed comment false positive (#2703) F# has supports `(*)` to convert an operator into a function. This syntax collides with F# comments and produced false positives for comments. The comment pattern has been adjusted to not match `(*)`.
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)