-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Comparing changes
Open a pull request
base repository: PrismJS/prism
base: 3c1fd1c84afd5e1867a9eb76e9533c53d22c34e1
head repository: PrismJS/prism
compare: 81670053da263b0fe814d58de66213a43f439b98
Commits on Jan 5, 2020
-
JS: Better regex detection (#2158)
This improves the detection of regular expressions.
Configuration menu - View commit details
-
Copy full SHA for a23d8f8 - Browse repository at this point
Copy the full SHA a23d8f8View commit details -
Dependencies: Improved
getLoader
(#2151)This removes many temporary arrays and introduces lazy dependency and alias resolving.
Configuration menu - View commit details
-
Copy full SHA for 199bdca - Browse repository at this point
Copy the full SHA 199bdcaView commit details -
PHP: Fixed exponential runtime of a pattern (#2157)
This fixes the exponential runtime of the pattern used to identify PHP code embedded in HTML.
Configuration menu - View commit details
-
Copy full SHA for 24c8f83 - Browse repository at this point
Copy the full SHA 24c8f83View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f1c55b - Browse repository at this point
Copy the full SHA 7f1c55bView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 401d4b0 - Browse repository at this point
Copy the full SHA 401d4b0View commit details -
Added support for Latte & NEON (#2140)
- Added support for templating system Latte https://latte.nette.org - Added support for NEON https://ne-on.org
1Configuration menu - View commit details
-
Copy full SHA for 694a81b - Browse repository at this point
Copy the full SHA 694a81bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f018cf0 - Browse repository at this point
Copy the full SHA f018cf0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59068d6 - Browse repository at this point
Copy the full SHA 59068d6View commit details -
Adds a check redundant dependency declarations (#2142)
This adds a test redundant dependency declarations (e.g. `require` + `optional` for the same component).
Configuration menu - View commit details
-
Copy full SHA for a06aca0 - Browse repository at this point
Copy the full SHA a06aca0View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 1f3f892 - Browse repository at this point
Copy the full SHA 1f3f892View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fbac16 - Browse repository at this point
Copy the full SHA 1fbac16View commit details
Commits on Jan 6, 2020
-
Added silent option to
loadLanguages
(#2147)This adds an option to `loadLanguages` which prevents all warning messages.
Configuration menu - View commit details
-
Copy full SHA for 191b411 - Browse repository at this point
Copy the full SHA 191b411View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for d7ad48f - Browse repository at this point
Copy the full SHA d7ad48fView commit details -
Custom Class: Fixed examples (#2160)
This adds a missing class to an example.
Configuration menu - View commit details
-
Copy full SHA for 0c2fe40 - Browse repository at this point
Copy the full SHA 0c2fe40View commit details -
Added checks for examples (#2128)
This adds a check to `premerge` to detect missing and lone examples. All currently missing examples were added with some exceptions.
Configuration menu - View commit details
-
Copy full SHA for 0b53913 - Browse repository at this point
Copy the full SHA 0b53913View commit details -
Added missing
.token
selector (#2161)This fixes lone `.namespace` rules without the .token component selector some themes had.
Configuration menu - View commit details
-
Copy full SHA for 8678045 - Browse repository at this point
Copy the full SHA 8678045View commit details -
JSX: Improved spread operator in tag attributes (#2159)
This allows any number of spaces around JSX attribute spread expressions.
Configuration menu - View commit details
-
Copy full SHA for fd857e7 - Browse repository at this point
Copy the full SHA fd857e7View commit details
Commits on Jan 7, 2020
-
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
Configuration menu - View commit details
-
Copy full SHA for 99d979a - Browse repository at this point
Copy the full SHA 99d979aView commit details
Commits on Jan 8, 2020
-
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
Configuration menu - View commit details
-
Copy full SHA for c40d96c - Browse repository at this point
Copy the full SHA c40d96cView commit details
Commits on Jan 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 543f04d - Browse repository at this point
Copy the full SHA 543f04dView commit details -
Handlebars: Added support for
:
and improved thevariable
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.
Configuration menu - View commit details
-
Copy full SHA for ef4d29d - Browse repository at this point
Copy the full SHA ef4d29dView commit details
Commits on Jan 12, 2020
-
Configuration menu - View commit details
-
Copy full SHA for e5678a0 - Browse repository at this point
Copy the full SHA e5678a0View commit details -
- Added some missing keywords - Added highlighting for modules, labels, and constructors - Split polymorphic variant types and type variables
Configuration menu - View commit details
-
Copy full SHA for 2a570fd - Browse repository at this point
Copy the full SHA 2a570fdView commit details
Commits on Jan 13, 2020
-
Updated changelog for 1.19.0 (#2169)
This also includes a small update to the changelog generation to account for `dependencies.js`.
Configuration menu - View commit details
-
Copy full SHA for dc136fd - Browse repository at this point
Copy the full SHA dc136fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 275366f - Browse repository at this point
Copy the full SHA 275366fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fd5c96 - Browse repository at this point
Copy the full SHA 6fd5c96View commit details
Commits on Jan 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 5450e24 - Browse repository at this point
Copy the full SHA 5450e24View commit details
Commits on Jan 18, 2020
-
Tests: Added new pattern check for octal escapes (#2189)
This adds a new pattern check to disallow octal character escapes (e.g. `\12`).
Configuration menu - View commit details
-
Copy full SHA for 81e1c3d - Browse repository at this point
Copy the full SHA 81e1c3dView commit details
Commits on Jan 22, 2020
-
Added link to prism-liquibase Bash language extension. (#2191)
In an effort to make some of our documentation easier to parse, Liquibase has published an extension to the Bash language to offer tokenization of Liquibase CLI commands.
Configuration menu - View commit details
-
Copy full SHA for 0bf73dc - Browse repository at this point
Copy the full SHA 0bf73dcView commit details
Commits on Jan 31, 2020
-
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.
Configuration menu - View commit details
-
Copy full SHA for 984e5d2 - Browse repository at this point
Copy the full SHA 984e5d2View commit details
Commits on Feb 4, 2020
-
PHPDoc: Fixed exponential backtracking (#2198)
This fixed the exponential backtracking of the pattern which matched PHP classes.
Configuration menu - View commit details
-
Copy full SHA for 3b42536 - Browse repository at this point
Copy the full SHA 3b42536View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7d67ca - Browse repository at this point
Copy the full SHA a7d67caView commit details
Commits on Feb 7, 2020
-
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.
Configuration menu - View commit details
-
Copy full SHA for 2e0eff7 - Browse repository at this point
Copy the full SHA 2e0eff7View commit details
Commits on Feb 8, 2020
-
Toolbar:
data-toolbar-order
is now inherited (#2205)The `data-toolbar-order` property is now inherited allowing for custom orderings/selections on an per-element basis.
Configuration menu - View commit details
-
Copy full SHA for 238f116 - Browse repository at this point
Copy the full SHA 238f116View commit details
Commits on Feb 14, 2020
-
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/
Configuration menu - View commit details
-
Copy full SHA for b24f734 - Browse repository at this point
Copy the full SHA b24f734View commit details
Commits on Feb 16, 2020
-
Added support for Factor (#2203)
This adds support for the [Factor](https://factorcode.org) language.
Configuration menu - View commit details
-
Copy full SHA for f941102 - Browse repository at this point
Copy the full SHA f941102View commit details
Commits on Feb 18, 2020
-
Java: Added
record
keyword (#2185)This adds support for the new `record` keyword from Java 14.
Nicolai Parlog authoredFeb 18, 2020 Configuration menu - View commit details
-
Copy full SHA for 47910b5 - Browse repository at this point
Copy the full SHA 47910b5View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 674f4b3 - Browse repository at this point
Copy the full SHA 674f4b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9dab85 - Browse repository at this point
Copy the full SHA e9dab85View commit details
Commits on Feb 19, 2020
-
Core: Faster Token.stringify (#2171)
This removes temporary arrays in `Token.stringify`. All these changes make `Prism.highlight` about 10~23% faster.
Configuration menu - View commit details
-
Copy full SHA for f683972 - Browse repository at this point
Copy the full SHA f683972View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6124c97 - Browse repository at this point
Copy the full SHA 6124c97View commit details
Commits on Feb 21, 2020
-
Ruby: Fixed exponential backtracking (#2225)
This fixes the exponential backtracking in one of Ruby's regex patterns.
Configuration menu - View commit details
-
Copy full SHA for c5de5aa - Browse repository at this point
Copy the full SHA c5de5aaView commit details
Commits on Feb 23, 2020
-
The patterns for tags, anchors, and aliases and their usage in other patterns are improved to match the YAML spec as close as possible.
Configuration menu - View commit details
-
Copy full SHA for 5362ba1 - Browse repository at this point
Copy the full SHA 5362ba1View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 15983d5 - Browse repository at this point
Copy the full SHA 15983d5View commit details
Commits on Feb 24, 2020
-
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.
Configuration menu - View commit details
-
Copy full SHA for bd16bd5 - Browse repository at this point
Copy the full SHA bd16bd5View commit details -
Fixed SAS' "peerDependencies" (#2230)
SAS had a `"peerDependencies"` property in `components.json`. This has been replaced with an `"optional"` dependency.
Configuration menu - View commit details
-
Copy full SHA for 7d8ff7e - Browse repository at this point
Copy the full SHA 7d8ff7eView commit details -
Markdown: Added support for nested lists (#2228)
This improves the support for nested lists by making the `code` pattern stricter.
Configuration menu - View commit details
-
Copy full SHA for 73c8a37 - Browse repository at this point
Copy the full SHA 73c8a37View commit details -
C/C++: Improvemed
comment
pattern (#2229)This improves the `comment` pattern by allowing backslash-escaped line breaks in single-line comments.
Configuration menu - View commit details
-
Copy full SHA for fa63072 - Browse repository at this point
Copy the full SHA fa63072View commit details
Commits on Feb 25, 2020
-
Website: Fixed Diff highlight plugin page title (#2233)
The plugin page of Diff highlight had the wrong title.
Configuration menu - View commit details
-
Copy full SHA for a82770f - Browse repository at this point
Copy the full SHA a82770fView commit details
Commits on Mar 7, 2020
-
Examples: Updated content header (#2232)
This changes the automatically generated header of examples on Prism's example page. The `overrideExampleHeader` option in `components.json` is no longer supported.
Configuration menu - View commit details
-
Copy full SHA for 6232878 - Browse repository at this point
Copy the full SHA 6232878View commit details
There are no files selected for viewing