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 branch 'gh-pages' into plugin/toolbar-and-copy-to-clipboard
* gh-pages: (107 commits) 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) Autoloader plugin: don't try to load "none" component. Fix PrismJS#1000 Optimized block regexps to prevent struggling on large files. Fixes PrismJS#1001 Revert PrismJS#998 + run normalize-whitespace and remove-initial-line-feed plugins in the before-sanity-check hook. Fix PrismJS#1018 (see issue for discussion) Run gulp Makes CSS strings greedy. Fix PrismJS#1013 update min file and reverse core add prefix feature for custom class plugin Make doctype case insensetive (PrismJS#1009) Optimize images (PrismJS#1007) Restore `viewBox` to Prism logo (PrismJS#1002) Remove unneeded prefixed CSS (PrismJS#989) Fix WPD plugin's page Fix WPD at-rule detection + don't process if language is not handled + fix plugin's page ... # Conflicts: # plugins/show-language/prism-show-language.css # plugins/show-language/prism-show-language.js # plugins/show-language/prism-show-language.min.js
- Loading branch information
Showing
215 changed files
with
4,137 additions
and
433 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,7 @@ | |
"**/.*", | ||
"img", | ||
"templates", | ||
"tests", | ||
"CNAME", | ||
"*.html", | ||
"style.css", | ||
|
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Prism.languages.ada = { | ||
'comment': /--.*/, | ||
'string': /"(?:""|[^"\r\f\n])*"/i, | ||
'number': [ | ||
{ | ||
pattern: /\b[0-9](?:_?[0-9])*#[0-9A-F](?:_?[0-9A-F])*(?:\.[0-9A-F](?:_?[0-9A-F])*)?#(?:E[+-]?[0-9](?:_?[0-9])*)?/i | ||
}, | ||
{ | ||
pattern: /\b[0-9](?:_?[0-9])*(?:\.[0-9](?:_?[0-9])*)?(?:E[+-]?[0-9](?:_?[0-9])*)?\b/i | ||
} | ||
], | ||
'attr-name': /\b'\w+/i, | ||
'keyword': /\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|new|return|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i, | ||
'boolean': /\b(?:true|false)\b/i, | ||
'operator': /<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/, | ||
'punctuation': /\.\.?|[,;():]/, | ||
'char': /'.'/, | ||
'variable': /\b[a-z](?:[_a-z\d])*\b/i | ||
}; |
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
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
Oops, something went wrong.