|
ab1e34ae
|
2020-05-19T01:53:44
|
|
Markup: Added alias for named entities (#2351)
|
|
fdbc4473
|
2020-05-19T01:52:38
|
|
CSS Extras: Optimized `class` and `id` patterns (#2359)
|
|
b526e8c0
|
2020-05-19T01:52:09
|
|
Ruby: Optimized `regex` and `string` patterns (#2354)
|
|
d6055771
|
2020-05-19T00:36:06
|
|
IO: Fixed operator pattern (#2365)
|
|
475a5903
|
2020-05-18T14:01:07
|
|
SAS: Improved comments in `proc groovy` and `proc lua` (#2392)
|
|
9782cfe6
|
2020-05-18T02:29:27
|
|
Markup & JSON: Added new aliases (#2390)
This adds the `rss` and `atom` alias for Markup and the `webmanifest` alias for JSON.
|
|
4935b5ca
|
2020-05-16T11:22:21
|
|
Ren'Py: Added `rpy` alias (#2385)
|
|
e3fe9040
|
2020-05-13T11:59:18
|
|
C++: Improved class name detection (#2348)
|
|
b6093339
|
2020-05-13T11:32:36
|
|
T4-VB: Use the right VB variant (#2341)
I used the wrong VB variant when creating T4 VB. It should have been VB.net.
|
|
caec5e30
|
2020-05-13T11:26:38
|
|
Added support for XML doc in C#, F#, and VB.net (#2340)
|
|
1946918a
|
2020-05-13T11:25:39
|
|
Scheme: Improved lambda parameter (#2346)
|
|
194c5429
|
2020-05-11T14:49:10
|
|
Rust: Improvements (#2332)
This makes several improvements to Rust. This includes support for multiline strings, better closures, attributes, macros, and comments, an update for the keyword list, and more.
|
|
e523f5d0
|
2020-05-09T02:42:24
|
|
CSS Extras: Renamed `attr-{name,value}` tokens and added tokens for combinators and selector lists (#2373)
|
|
8a72830a
|
2020-05-07T22:44:16
|
|
Regex: Added aliases and minor improvements (#2325)
This adds a lot of aliases to the regex tokens, so themes can apply their styles. It also makes a few improvements. See the PR for more details.
|
|
6d663b6e
|
2020-05-08T04:17:54
|
|
Stylus: Fixed comments breaking declarations + minor improvements (#2372)
Comments broke URLs in all non-greedy declarations. Comments are now matched as part of these declarations.
This also adds support for comments inside selectors.
|
|
2c10ef8a
|
2020-05-07T19:58:29
|
|
Stylus: New tokens and other improvements. (#2368)
This adds `color`, `unit`, and `entity` tokens. The `number` and `operator` patterns were also improved.
|
|
d0c1c70d
|
2020-05-06T23:59:29
|
|
Added support for PureBasic (#2369)
A language based on Basic (BlitzBasic to be precise) with inline assembler also and direct API calls. Can compile on Windows, Linux, and macOS
|
|
0d65d6c9
|
2020-05-06T16:35:29
|
|
Stylus: Fixed comments breaking strings and URLs (#2361)
|
|
032910ba
|
2020-05-06T10:06:01
|
|
JavaDoc: Improvements (#2324)
This makes some improvements to JavaDoc:
- Extended support for [references](https://corochann.com/javadoc-coding-rule-of-link-linkplain-see-372.html).
- Better code support
- Added support for `<pre>` elements
- Added support for HTML inside code (but not `{@code}` code)
- Fixed that the line splitting pattern required at least 2 characters per line
- Added support for HTML entities.
- Changed the line ends to `\r\n` for all test files.
|
|
4172ab6f
|
2020-05-06T15:52:21
|
|
Dart: Added missing keywords (#2355)
|
|
7f948ecb
|
2020-05-03T23:40:09
|
|
pug: Improved class and id detection in tags (#2358)
|
|
c9324476
|
2020-04-29T21:54:31
|
|
Python: Fixed empty multiline strings (#2344)
|
|
30b4e254
|
2020-04-29T19:31:30
|
|
C++: Fixed `enum class` class names (#2342)
The `class` keyword in `enum class` enums was falsely highlighted as the class name.
|
|
33e49956
|
2020-04-29T15:39:59
|
|
GLSL: Improvements (#2321)
This improves GLSL by extending C instead of C-like.
|
|
87a5c7ae
|
2020-04-29T15:29:51
|
|
Added support for HLSL (#2318)
https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl
|
|
d2541d54
|
2020-04-29T15:25:26
|
|
Scheme: Consistent lookaheads (#2322)
|
|
fdcf7ed2
|
2020-04-29T15:25:01
|
|
C: Improved macros (#2320)
|
|
053016ef
|
2020-04-27T23:18:30
|
|
Added support for Racket (#2315)
|
|
e27e65af
|
2020-04-27T22:54:18
|
|
Scheme: Improved boolean (#2316)
I noticed that scheme booleans also partially highlighted `#true`, so I fixed that.
|
|
eb70070d
|
2020-04-27T22:43:30
|
|
Added support for SSML (#2306)
|
|
cde5b0fa
|
2020-04-27T22:39:29
|
|
Added support for Warpscript (#2307)
|
|
1093ceb3
|
2020-04-27T22:33:02
|
|
Added support for UnrealScript (#2305)
|
|
bd4d8165
|
2020-04-27T22:29:20
|
|
Added support for Peoplecode (#2302)
|
|
fec39bcf
|
2020-04-27T22:23:57
|
|
Powershell: New functions pattern bases on naming conventions (#2301)
|
|
de21eb64
|
2020-04-27T22:22:12
|
|
Added support for AL (#2300)
|
|
ac297ba5
|
2020-04-27T22:20:41
|
|
Scheme: Added missing special keywords (#2304)
|
|
67c6b7af
|
2020-04-26T19:30:31
|
|
Objectivec: Added `objc` alias (#2331)
|
|
a197cfcd
|
2020-04-16T22:30:37
|
|
Typescript: Added `asserts` keyword and other improvements (#2280)
|
|
7a554b5f
|
2020-04-16T22:27:54
|
|
Fixed several cases of exponential backtracking (#2268)
|
|
8704cdfb
|
2020-04-12T23:15:37
|
|
Added support for Structured Text (IEC 61131-3) (#2311)
|
|
044dd271
|
2020-04-09T19:15:51
|
|
Bash: Added `composer` command (#2298)
This adds PHP's dependency manager `composer` to the list of commands.
|
|
62e184bb
|
2020-04-09T12:50:20
|
|
Java: Fixed `namespace` token (#2295)
|
|
abb800dd
|
2020-04-09T00:39:09
|
|
gulp: Improved `inlineRegexSource` (#2296)
|
|
9a49f78f
|
2020-04-07T20:32:39
|
|
Scheme: Improvements (#2263)
|
|
0cfb6c5f
|
2020-04-04T13:04:08
|
|
EJS: Added `eta` alias (#2282)
|
|
fd432a5b
|
2020-04-04T21:50:48
|
|
Diff: Added `prefix` token (#2281)
This adds a token to match line prefixes.
|
|
947a55bd
|
2020-03-29T18:30:31
|
|
C#: Fixed keywords in type lists blocking type names (#2277)
|
|
67afc5ad
|
2020-03-27T18:43:25
|
|
gulp: Inline regex source improvement (#2227)
This removes more unnecessary escapes.
|
|
5d7aab56
|
2020-03-26T23:30:29
|
|
Updated all String.propotype.replace calls for literal strings
|
|
504a63ba
|
2020-03-26T23:18:33
|
|
CSS: Fixed url() containing "@" (#2272)
This fixes URLs that contain the "@" character.
|
|
57eebced
|
2020-03-26T12:10:09
|
|
BBCode: Added "shortcode" alias (#2273)
This adds a "shortcode" alias to BBCode to support Wordpress' ShortCode.
|
|
2d4c94cd
|
2020-03-25T13:12:42
|
|
Core: Linked list implementation for matchGrammar (#1909)
The token streams in `matchGrammar` are now backed by a linked list instead of an array. This guarantees O(1) time for all operations.
The `matchGrammar` is now private.
|
|
42b15463
|
2020-03-24T20:30:58
|
|
C# improvements (#1444)
A complete rewrite of the C# language to support almost every feature of C# 8.0.
|
|
43efde2e
|
2020-03-23T17:44:09
|
|
Added support for LLVM IR (#2221)
This adds support for LLVM's assembly language.
https://llvm.org/docs/LangRef.html
|
|
328d0e0e
|
2020-03-21T17:02:30
|
|
Bash: Added support for escaped quotes (#2256)
Single and double quotes can be escaped via backslashes. Prism now supports these escapes.
|
|
8119e57b
|
2020-03-16T21:17:45
|
|
Added support for Power Query (#2250)
This adds support for Power Query.
https://docs.microsoft.com/en-us/powerquery-m/
|
|
9227853f
|
2020-03-13T21:52:26
|
|
Added support for DAX (#2248)
This adds support for DAX (Data Analysis Expressions).
https://docs.microsoft.com/en-us/dax/
|
|
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.
|
|
bf4f7bfa
|
2020-03-10T14:59:46
|
|
Added support for Excel formula (#2219)
This adds support for Excel's formula terms.
|
|
462ad57e
|
2020-03-07T14:32:58
|
|
C++: Added C++20 keywords (#2236)
This adds support for the ney keywords added in C++20.
https://en.cppreference.com/w/cpp/keyword
|
|
26626ded
|
2020-03-07T11:43:10
|
|
OpenCL: Require C (#2231)
This changes the language requirement of OpenCL from C++ to C making C++ optional.
|
|
fa630726
|
2020-02-24T23:57:55
|
|
C/C++: Improvemed `comment` pattern (#2229)
This improves the `comment` pattern by allowing backslash-escaped line breaks in single-line comments.
|
|
73c8a376
|
2020-02-24T23:56:07
|
|
Markdown: Added support for nested lists (#2228)
This improves the support for nested lists by making the `code` pattern stricter.
|
|
bd16bd57
|
2020-02-24T14:43:16
|
|
Shell-Session: Improvements (#2208)
- Added support for elevated shells starting commands with `#` instead of `$`.
- The user and cwd info `bash` and `sh` print before the interactive shell will now be highlighted.
- Changed the line ends of test files to CRLF.
|
|
15983d52
|
2020-02-23T14:12:37
|
|
Added support for Solution (.sln) files (#2213)
This adds support for VS Solution files.
https://docs.microsoft.com/en-us/visualstudio/extensibility/internals/solution-dot-sln-file?view=vs-2019
|
|
5362ba16
|
2020-02-23T14:06:24
|
|
YAML: Improvements (#2226)
The patterns for tags, anchors, and aliases and their usage in other patterns are improved to match the YAML spec as close as possible.
|
|
c5de5aa8
|
2020-02-21T13:04:52
|
|
Ruby: Fixed exponential backtracking (#2225)
This fixes the exponential backtracking in one of Ruby's regex patterns.
|
|
6124c974
|
2020-02-19T20:03:29
|
|
YAML: Fixed highlighting of anchors and aliases (#2217)
|
|
f683972e
|
2020-02-19T12:26:45
|
|
Core: Faster Token.stringify (#2171)
This removes temporary arrays in `Token.stringify`.
All these changes make `Prism.highlight` about 10~23% faster.
|
|
674f4b35
|
2020-02-18T21:52:43
|
|
C/C++/OpenCL C: Improvements (#2196)
This makes a few minor improvements to C and OpenCL C. Some of those improvements carry over to C++.
For more details, see the pull request.
|
|
47910b5c
|
2020-02-18T21:45:03
|
|
Java: Added `record` keyword (#2185)
This adds support for the new `record` keyword from Java 14.
|
|
f941102e
|
2020-02-16T13:49:33
|
|
Added support for Factor (#2203)
This adds support for the [Factor](https://factorcode.org) language.
|
|
b24f7348
|
2020-02-14T21:55:32
|
|
Add Concurnas support (#2206)
Concurnas is an open-source JVM programming language designed for building reliable, scalable, high performance concurrent, distributed and parallel systems. For more information please see: https://concurnas.com/
|
|
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.
|
|
a7d67ca3
|
2020-02-04T15:17:11
|
|
VB: Added support for comments with line continuations (#2195)
|
|
3b42536e
|
2020-02-04T13:47:56
|
|
PHPDoc: Fixed exponential backtracking (#2198)
This fixed the exponential backtracking of the pattern which matched PHP classes.
|
|
984e5d2e
|
2020-01-31T22:50:59
|
|
Core: Fixed scope problem in script mode (#2184)
A function in Core was defined inside an `if` which isn't allowed in JS strict mode.
|
|
81e1c3dd
|
2020-01-18T17:23:39
|
|
Tests: Added new pattern check for octal escapes (#2189)
This adds a new pattern check to disallow octal character escapes (e.g. `\12`).
|
|
5450e24c
|
2020-01-15T15:04:09
|
|
Elixir: Added support for attributes names ending with `?` (#2182)
|
|
2a570fd4
|
2020-01-12T02:23:06
|
|
OCaml: Improvements (#2179)
- Added some missing keywords
- Added highlighting for modules, labels, and constructors
- Split polymorphic variant types and type variables
|
|
ef4d29d9
|
2020-01-11T02:05:37
|
|
Handlebars: Added support for `:` and improved the `variable` pattern (#2172)
This adds support for `:` as punctuation and removes the `.` from the list of allowed characters in the `variable` pattern as it is impossible to match because of the `punctuation` pattern.
|
|
c40d96c6
|
2020-01-08T15:57:52
|
|
Added QML (#2139)
This adds support for QML (Qt Modeling Language), a user interface markup language.
https://en.wikipedia.org/wiki/QML
https://doc.qt.io/qt-5/qtqml-index.html
|
|
99d979a0
|
2020-01-07T09:10:22
|
|
SAS: Added CASL support (#2112)
This adds CASL support, a scripting language used within PROC CAS in SAS.
https://go.documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.4&docsetId=pgmdiff&docsetTarget=p06ibhzb2bklaon1a86ili3wpil9.htm&locale=en
|
|
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.
|
|
d7ad48f9
|
2020-01-06T13:50:17
|
|
Markdown: Better language detection for code blocks (#2114)
This improves the language detection for code blocks by using only the first word instead of the whole expression and replacing some characters so languages like `c#` and `c++` are supported.
|
|
191b4116
|
2020-01-06T13:28:17
|
|
Added silent option to `loadLanguages` (#2147)
This adds an option to `loadLanguages` which prevents all warning messages.
|
|
1f3f8929
|
2020-01-05T20:11:53
|
|
JS: Added support for keywords after a spread operator (#2148)
This PR fixes that keywords after a spread operator weren't highlighted. This is mainly for the `await` and `new` keywords.
|
|
f018cf04
|
2020-01-05T20:03:12
|
|
JSX: Made `$` a valid character for attribute names (#2144)
|
|
694a81b8
|
2020-01-05T20:00:51
|
|
Added support for Latte & NEON (#2140)
- Added support for templating system Latte https://latte.nette.org
- Added support for NEON https://ne-on.org
|
|
401d4b02
|
2020-01-05T19:59:16
|
|
Ruby: Override 'class-name' definition (#2135)
Unlike other C-like languages, in Ruby objects don't get initialized by
using `new Object` but `Object.new`. So whatever comes after `new`
probably isn't a classname.
|
|
7f1c55b7
|
2020-01-05T21:57:33
|
|
ReasonML: Add support for single line comments (#2150)
|
|
24c8f833
|
2020-01-05T19:56:14
|
|
PHP: Fixed exponential runtime of a pattern (#2157)
This fixes the exponential runtime of the pattern used to identify PHP code embedded in HTML.
|
|
a23d8f84
|
2020-01-05T18:34:45
|
|
JS: Better regex detection (#2158)
This improves the detection of regular expressions.
|
|
7a4a0c7c
|
2019-12-16T12:49:21
|
|
Standardized dependency logic implementation (#1998)
This adds a standard logic for handling dependencies between Prism components.
Right now, the download page, the `loadLanguages` function, and the test suite use the new dependency system.
|
|
a7f70090
|
2019-12-02T14:10:53
|
|
Added new Filter highlightAll plugin (#2074)
This adds a new plugin to Prism which allows users to filter which elements will be highlighted by the `highlightAll` and `highlightAllUnder` methods.
|
|
baa78774
|
2019-11-16T00:59:18
|
|
Rename "robot-framework" to "robotframework" (#2113)
This changes the id of the Robot Framework language.
|
|
0fd062d5
|
2019-11-01T22:31:17
|
|
Core: Fixed null reference (#2106)
The new defer logic in Prism Core did not handle that the script element might be null.
|
|
631f1e34
|
2019-10-26T18:53:47
|
|
Added support for BrightScript (#2096)
This adds support for BrightScript.
|
|
f31946b3
|
2019-10-25T21:53:29
|
|
Added support for Moonscript (#2100)
This adds support for the Moonscript language.
|
|
aaf13aa6
|
2019-10-25T21:12:20
|
|
Added support for BBCode (#2095)
This adds support for the BBCode markup language.
|