|
1cd81ff8
|
2016-08-11T12:39:49
|
|
Store data attributes in unescaped markup plugin. For example data-start for line-numbers plugin.
|
|
3dd72198
|
2016-08-05T03:32:09
|
|
Make doctype case insensetive (#1009)
|
|
b2fa6d55
|
2016-07-29T20:37:25
|
|
Optimize images (#1007)
* Optimize images
Optimized images losslessly with ImageOptim.
* Optimize favicon
403 → 209 B (48,1 % saving)
|
|
218fd25c
|
2016-07-20T01:40:14
|
|
Restore `viewBox` to Prism logo (#1002)
* Restore `viewBox` to Prism logo
* Remove the line break
|
|
5e568330
|
2016-07-19T18:20:18
|
|
Remove unneeded prefixed CSS (#989)
This PR removes
– prefixed `linear-gradient`
– prefixed `box-shadow`
– prefixed `border-radius`
– prefixed `opacity` + legacy IE alternatives
– `-moz-transition` (http://caniuse.com/css-transitions)
|
|
f69e5704
|
2016-07-14T23:52:51
|
|
Merge pull request #990 from valtlait/svg-logo
Optimize Prism logo
|
|
bdca61bf
|
2016-07-14T12:01:52
|
|
Merge pull request #996 from Golmote/data-uri-highlight
Data-URI Highlight plugin Fix #485
|
|
1b19ff08
|
2016-07-14T11:31:41
|
|
Fix WPD plugin's page
|
|
26267281
|
2016-07-14T11:27:02
|
|
Fix WPD at-rule detection + don't process if language is not handled + fix plugin's page
|
|
36739b3f
|
2016-07-14T11:07:42
|
|
Merge pull request #998 from Golmote/before-insert-code-restore
Don't restore env.code from backupCode in Handlebars, PHP and Smarty …
|
|
d8fefde6
|
2016-07-12T09:09:52
|
|
Don't restore env.code from backupCode in Handlebars, PHP and Smarty components
|
|
c1a0c1bd
|
2016-07-11T20:37:47
|
|
Added TestCase.runTestsWithHooks + add missing tests. Updated documentation for test suite.
|
|
3dc8c9e1
|
2016-07-11T20:36:16
|
|
Don't insert space before ">" when there is no attributes
|
|
b6ab75b6
|
2016-07-11T07:56:02
|
|
Comment are not candidates for data-uri highlight plugin
|
|
e5587a76
|
2016-07-10T14:14:50
|
|
Added aria-hidden attributes on elements created by the Line Highlight and Line Numbers plugins. Fixes #574.
|
|
0224b7cc
|
2016-07-10T14:05:42
|
|
Merge pull request #994 from Golmote/prism-xojo
Add support for Xojo. Fix #898
|
|
5f1b3826
|
2016-07-10T13:56:08
|
|
Data-URI Highlight plugin
|
|
8f5f1fa9
|
2016-07-07T09:13:47
|
|
SCSS: Highlight parent selector
|
|
13fed767
|
2016-07-07T09:09:51
|
|
CSS-extras: match attribute inside selectors
|
|
d6b5c2f0
|
2016-07-07T09:01:32
|
|
SCSS: Highlight variables inside selectors and properties.
|
|
fd09391e
|
2016-07-05T19:10:41
|
|
SCSS: Alias statement as keyword. Fix #246
|
|
318aab39
|
2016-07-05T19:00:52
|
|
Make PHP comments greedy. Fix #197
|
|
2b0cc8ab
|
2016-07-04T21:06:44
|
|
Xojo does not need to require Basic
|
|
5e62f023
|
2016-07-04T20:13:26
|
|
Add support for Xojo. Fix #898
|
|
5c815d35
|
2016-07-04T08:59:15
|
|
Add progress indicator on "Download all grammars" link on Autoloader plugin page
|
|
0d0a0071
|
2016-07-04T08:46:47
|
|
Merge pull request #981 from Golmote/autoloader-download-all
Download all grammars as a Zip directly from the Autoloader plugin page. Fix #960
|
|
31ea66b6
|
2016-07-04T00:32:28
|
|
Allow for dots in Markup tag names, but not in HTML tags included in Textile. Fixes #888
|
|
96719967
|
2016-07-03T23:43:37
|
|
Remove duplicated script on autoloader plugin page
|
|
65619f7e
|
2016-07-03T03:20:53
|
|
Add support for Ada (generic). Closes #949
|
|
c9bdcd35
|
2016-07-03T02:37:29
|
|
Manual merge of #988. Closes #988, fixes #987.
|
|
268d01e3
|
2016-07-03T02:32:13
|
|
Add test for JS operators
|
|
8de64b6b
|
2016-07-03T02:32:02
|
|
Run gulp
|
|
b2de65ac
|
2016-07-03T02:27:43
|
|
Merge pull request #991 from valtlait/js-operators
Add JS exponentiation & spread/rest operator
|
|
daef55f8
|
2016-07-01T02:23:23
|
|
JS: add exponentiation & spread/rest operator
Add JavaScript `**` and `...` operators
|
|
a451d33e
|
2016-07-01T01:46:37
|
|
Optimize Prism logo
Optimizations to Prism SVG logo:
– remove XML prolog
– remove `version` attribute (doesn’t have any effect)
– remove unused `xlink` namespace
– remove `viewBox` attribute (doesn’t have any effect in this context)
– remove `px` units (it’s default unit)
– optimize path data
|
|
62e258c9
|
2016-06-27T01:28:46
|
|
Merge pull request #982 from Golmote/prism-livescript
Add support for LiveScript
|
|
9c5ffb5e
|
2016-06-27T01:26:39
|
|
Merge remote-tracking branch 'official/gh-pages' into prism-livescript
Conflicts:
plugins/show-language/prism-show-language.js
plugins/show-language/prism-show-language.min.js
|
|
be6219a8
|
2016-06-27T01:21:50
|
|
Merge pull request #980 from Golmote/prism-properties
Add support for .properties files
|
|
4fda477e
|
2016-06-20T03:42:46
|
|
Merge pull request #977 from rbricheno/gh-pages
Fix highlighting of empty comments in PowerShell
|
|
9cfc8cb2
|
2016-06-18T19:39:36
|
|
Add support for LiveScript
|
|
4a3cdfee
|
2016-06-18T15:45:25
|
|
Add a way to download all grammars as a Zip directly from the Autoloader plugin page
|
|
b4f34239
|
2016-06-18T15:01:08
|
|
Add a couple more details on how to use the Autoloader plugin
|
|
2607dcd9
|
2016-06-18T14:46:44
|
|
Add support for .properties files
|
|
9893489c
|
2016-06-18T14:18:27
|
|
Replace flags property of RegExp with a more compatible alternative
|
|
912bdfe1
|
2016-06-18T08:16:48
|
|
Merge pull request #969 from atomantic/bash_npm
adding `npm` to common function list
|
|
e0180873
|
2016-06-16T08:15:59
|
|
Merge pull request #971 from Golmote/prism-graphql
Add support for GraphQL
|
|
a2633627
|
2016-06-16T08:14:11
|
|
Run gulp
|
|
105be251
|
2016-06-16T08:11:46
|
|
Merge pull request #978 from nfagerlund/june2016_puppet_regexes
Puppet highlighter: Fix over-greedy regexp detection
|
|
b9a9de53
|
2016-06-15T16:17:08
|
|
Puppet highlighter: Fix over-greedy regexp detection
The `regex` token was allowing /regexps/ to start after the word `node` or after
any non-word character. This ends up being too greedy! For example, take this
common code, using variable interpolation in a string that represents a file
path:
file { "${master_config_dir}/.ssh":
ensure => file,
owner => 'jenkins',
group => 'jenkins',
mode => '0600',
}
The highlighter will start a regexp at `/.ssh`, in the middle of the string, and
continue for however many lines it takes to reach another slash.
So instead, let's be more conservative about where we might find a regexp. I
suggest:
- After `node`.
- After one of the following characters: `~=([{,`
- This catches usage in variable assignment, the `=~`/`!~` operators,
function calls, case statement and selector blocks, arrays, and data type
objects that accept parameters (`Pattern[/.../]`, etc.).
- After `=>` (and the lesser-used `+>`) for hashes and resource attributes.
- At the start of a line, for, e.g., the LHS of the `in` operator. (I'm not 100%
sure we should cover this case for a simple highlighter like Prism, and it's
the one I'd most expect to cause problems later, but... I think it's ok...)
This commit appears to fix the worst of the mid-string blowouts.
|
|
311a890e
|
2016-06-15T17:14:28
|
|
Fix highlighting of empty comments
A single # on a line by itself with no other characters following it is a valid comment in powershell.
|
|
0e3e938d
|
2016-06-15T17:13:07
|
|
Fix highlighting of empty comments
A single # on a line by itself with no other characters following it is a valid comment in powershell.
|
|
500121ba
|
2016-06-11T09:12:05
|
|
Merge pull request #967 from zeitgeist87/ImprovedGreedyFlag
Improvement to greedy-flag
|
|
bfb559bf
|
2016-06-11T01:17:24
|
|
Add support for GraphQL
|
|
babdf740
|
2016-06-08T22:29:12
|
|
adding `npm` to common function list
|
|
4a44f016
|
2016-06-05T07:39:15
|
|
Release 1.5.1
|
|
740e8900
|
2016-06-05T07:33:36
|
|
Update CHANGELOG and auto-generated files
|
|
9385c54f
|
2016-06-05T07:14:20
|
|
Add class that disables the normalize whitespace plugin
|
|
d80900cc
|
2016-06-04T19:52:38
|
|
Improvement to greedy-flag
This patch expands the idea of the greedy flag and significantly
improves it, by matching against the whole text instead of just
the next couple of tokens. This does not only improve the
results, but it should also slightly improve performance.
|
|
1158e460
|
2016-06-03T11:34:01
|
|
Rearrange the `string` and `template-string` token in JavaScript
It is more likely that single and double quotes appear in
a template string, than backticks in a normal string. Fixes issue
#963.
|
|
0c4d8d7d
|
2016-06-03T09:18:06
|
|
Merge pull request #959 from rupl/75-async
Allow for asynchronous loading of prism.js
|
|
f130680c
|
2016-05-29T11:15:59
|
|
Use requestAnimationFrame instead of setTimeout
|
|
b6b40ec0
|
2016-05-29T00:46:11
|
|
Merge pull request #958 from kaplanoah/gh-pages
add delimeter and delimeters keywords to sql
|
|
4eb7ee45
|
2016-05-26T11:27:03
|
|
Allow for asynchronous loading of prism.js
|
|
a9ef24e3
|
2016-05-25T11:50:45
|
|
add delimeter keywords to sql
|
|
abee2b75
|
2016-05-17T22:02:28
|
|
Merge pull request #957 from andeersg/lowercase-languages
Use toLowerCase on language names
|
|
acd9508f
|
2016-05-17T14:23:02
|
|
Use toLowerCase on language names
|
|
e45fd2eb
|
2016-05-16T15:26:51
|
|
Merge pull request #954 from kaplanoah/gh-pages
add AUTO_INCREMENT and DATE keywords to sql
|
|
caea2afe
|
2016-05-15T20:38:26
|
|
add auto_increment and date sql keywords
|
|
8b3c51dd
|
2016-05-12T11:30:15
|
|
Merge pull request #952 from TimvdLippe/diff-one-line
Highlight diff lines with only + or -
|
|
bd3a0b82
|
2016-05-12T11:28:15
|
|
Merge pull request #953 from thedigitalman/patch-1
Fixed monospace typo
|
|
e6c34988
|
2016-05-12T14:13:30
|
|
Fixed monospace typo
The original value was "monoscpace," and I changed it to "monospace."
|
|
4d0526fa
|
2016-05-12T11:30:53
|
|
Highlight diff lines with only + or -
|
|
6ec9238a
|
2016-05-01T11:36:44
|
|
Merge pull request #946 from malcomio/gh-pages
link to index for basic usage - fixes #945
|
|
6c772d85
|
2016-05-01T09:32:03
|
|
link to index for basic usage - fixes #945
|
|
f4912eed
|
2016-05-01T10:30:33
|
|
Release 1.5.0
|
|
dfb63ede
|
2016-05-01T10:13:54
|
|
Update CHANGELOG.md
|
|
daae21d3
|
2016-05-01T08:52:13
|
|
Merge pull request #944 from open-nsm/gh-pages
Added keyword tests for Bro and added a case to variable
|
|
9bb8ddc5
|
2016-05-01T01:33:11
|
|
Added keyword tests for Bro and added a case to variable
|
|
f40aff3e
|
2016-04-30T21:56:30
|
|
Merge pull request #893 from zeitgeist87/comment-escape
Use a HTML-comment to escape code
|
|
21dd0d14
|
2016-02-15T23:08:24
|
|
Use a HTML-comment to escape code
|
|
fd036d9e
|
2016-04-30T16:12:48
|
|
Merge branch 'master' into gh-pages
|
|
8a83ec49
|
2016-04-30T16:11:09
|
|
Merge pull request #918 from eriklieben/jspm
Added support for installing the npm package with JSPM
|
|
6f75735e
|
2016-04-30T15:43:07
|
|
Support for generic methods in csharp
|
|
964450e1
|
2016-04-30T13:35:01
|
|
Apply the new greedy flag to a few languages
This patch applies the new greedy flag to a few languages and
adds the corresponding test cases.
|
|
9cbf9d77
|
2016-04-30T12:04:06
|
|
Update auto-generated values in the autoloader plugin
The auotloader plugin contains a variable that is auto-generated
by gulp. This variable was updated by the addition of the new
language protobuf.
|
|
8477e457
|
2016-04-30T11:58:43
|
|
Minor fix for the YAML language
Recent changes to YAML caused it to fail some test cases. This
patch fixes this minor problem, by excluding whitespace
characters from the "key"-pattern.
|
|
71e57594
|
2016-04-30T11:52:51
|
|
Add basic test cases for the Bro language
This patch adds basic tests for the Bro language and it enables
the greedy-flag for the string token.
|
|
3eec2b75
|
2016-04-30T11:49:08
|
|
Add some simple test cases for the protobuf language
This patch adds basic test cases for the protobuf language and
fixes some whitespace issues. It also adds the missing
requirement to the clike language to components.js.
|
|
2746d7f3
|
2016-04-30T09:48:39
|
|
Document the newly added greedy-flag
|
|
5b78124e
|
2016-04-30T09:48:11
|
|
Fix whitespace in extending.html
|
|
d25047d7
|
2016-04-29T14:50:46
|
|
Merge pull request #943 from larsks/bug/942
fix hilighting of YAML keys on first line of code block
|
|
f19db819
|
2016-04-29T12:05:00
|
|
fix hilighting of YAML keys on first line of code block
The YAML highlighter would fail to highlight a key if it occurred on
the first line of a `<code>` block, as in:
<pre><code>somekey: somevalue
anotherkey: anothervalue</pre></code>
This adds "beginning of file" as an acceptable marker for the start of
a key.
Resolves #942 and, it turns out, #649.
|
|
6694e218
|
2016-04-29T16:56:32
|
|
Fix keyword_feature.test for the sas-language
|
|
f081b905
|
2016-04-29T16:39:46
|
|
Rename proto language into protobuf and add it to components.js
|
|
58d87137
|
2016-04-29T16:32:22
|
|
Merge pull request #938 from just-boris/patch-1
add protobuf support
|
|
5d725f7f
|
2016-04-29T16:12:26
|
|
Merge pull request #941 from coliff/patch-1
HTTPS links to twitter.com and w3.org + Google Analytics to HTTPS
|
|
8843a03a
|
2016-04-28T18:07:32
|
|
HTTPS links to twitter.com and w3.org + Google Analytics to HTTPS
HTTPS links to twitter.com and w3.org (they are HTTPS anyway so it saves redirect)
Updated Google Analytics URL to be HTTPS (recommended by Google)
|
|
ae4a4f2f
|
2016-04-25T17:57:06
|
|
add protobuf support
|
|
86cfe7fa
|
2016-04-23T19:55:39
|
|
Merge pull request #937 from andremw/patch-1
Adds closing parenthesis
|
|
cd1a5468
|
2016-04-23T08:58:57
|
|
Adds closing parenthesis
|