forked from PrismJS/prism
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'PrismJS/gh-pages' into gh-pages
* PrismJS/gh-pages: update patterns (PrismJS#1032) Test suite: fixed missing diff in error message Reverse prism markup min JSON: Fixed issues with properties and strings + added tests. Fix PrismJS#1025 Fix grammar in Readme Update CHANGELOG Update APL minified file + update test for iota underbar function Add iota underbar (PrismJS#1024) Fix typo `Fload` to `Float` in prism-ruby.js (PrismJS#1023) update min file and reverse core add prefix feature for custom class plugin add plugin custom class name # Conflicts: # plugins/autoloader/prism-autoloader.min.js
- Loading branch information
Showing
26 changed files
with
408 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
Prism.languages.json = { | ||
'property': /".*?"(?=\s*:)/ig, | ||
'string': /"(?!:)(\\?[^"])*?"(?!:)/g, | ||
'number': /\b-?(0x[\dA-Fa-f]+|\d*\.?\d+([Ee]-?\d+)?)\b/g, | ||
'property': /"(?:\\.|[^|"])*"(?=\s*:)/ig, | ||
'string': /"(?!:)(?:\\.|[^|"])*"(?!:)/g, | ||
'number': /\b-?(0x[\dA-Fa-f]+|\d*\.?\d+([Ee][+-]?\d+)?)\b/g, | ||
'punctuation': /[{}[\]);,]/g, | ||
'operator': /:/g, | ||
'boolean': /\b(true|false)\b/gi, | ||
'null': /\bnull\b/gi, | ||
'null': /\bnull\b/gi | ||
}; | ||
|
||
Prism.languages.jsonp = Prism.languages.json; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.