|
eccf09f7
|
2016-09-23T22:34:54
|
|
Revert 3c5c89ac117aa400b984dc921b1f117956f96fc7. PRs must be merged to gh-pages, not master.
|
|
3c5c89ac
|
2016-09-22T14:32:00
|
|
Add iota underbar (#1024)
It's used by NARS2000 now, and will be used by Dyalog APL in the future.
|
|
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
|
|
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
|
|
5aeb9044
|
2016-04-19T01:12:42
|
|
Merge pull request #931 from clarle/node-docs
Add Node usage documentation to Basic Usage
|
|
be9a7858
|
2016-04-09T20:10:55
|
|
Add Node usage documentation to Basic Usage
|
|
b8275198
|
2016-04-07T23:50:03
|
|
Fixed whitespaces, reordered tokens, used Gulp to min JS
|
|
ea507962
|
2016-04-07T01:20:30
|
|
Updated minified JS file
|
|
5bdb22e6
|
2016-04-07T01:18:46
|
|
Corrected indentation issue
|
|
22bf9c55
|
2016-04-07T01:12:38
|
|
Fixed issues pointed out in previous pull request
|
|
ff93a9cc
|
2016-04-01T02:56:29
|
|
Better HTML example
|
|
8a9f30fa
|
2016-04-01T02:48:10
|
|
Minified prism-bro.js file to prism-bro.min.js
|
|
9e8d4f99
|
2016-04-01T02:08:35
|
|
More improvements to Bro
|
|
b25a7515
|
2016-03-31T03:34:23
|
|
Added Bro support to Prism
|
|
ccd61b61
|
2016-04-07T12:22:27
|
|
Merge pull request #924 from zeitgeist87/drupal-logo
Add Drupal to the list of websites that use Prism
|
|
d2f915d8
|
2016-04-07T10:29:09
|
|
Merge pull request #928 from flowlo/patch-1
Ignore tests directory in bower.json
|
|
a6d2d0f4
|
2016-04-06T03:56:45
|
|
Ignore tests directory in bower.json
|
|
648aec06
|
2016-03-31T19:27:24
|
|
Merge pull request #922 from chucknelson/add-missing-keywords-for-sas
Add missing keywords for SAS.
|
|
1b905b9e
|
2016-03-31T11:24:29
|
|
Update PROC step/keyword regex to be more restrictive.
|
|
b88c68a0
|
2016-03-31T13:07:09
|
|
Add Drupal to the list of websites that use Prism
|
|
85ef5179
|
2016-03-30T10:25:36
|
|
Add missing keywords for SAS.
Two changes:
(1) PROC keyword now also includes its associated name (e.g., PROC TABULATE, PROC SQL).
(2) QUIT now included, as it is used to close/complete various procedures.
|
|
39630dd5
|
2016-03-25T19:14:11
|
|
Merge pull request #917 from ervaude/ervaude-third-party-tutorials
Clean up Third-party tutorials section
|
|
ad048abe
|
2016-03-23T22:03:34
|
|
Add JSPM support
|
|
415092b1
|
2016-03-21T16:36:57
|
|
Clean up Third-party tutorials section
Resolves #809
Add a new third party tutorial. Remove dead links and correct outdated URLs.
|
|
bd479f1d
|
2016-03-08T21:58:27
|
|
Merge pull request #906 from davewasmer/gradient-syntax
Update linear-gradient syntax from `left` to `to right`
|
|
cd234dcd
|
2016-03-08T19:26:52
|
|
update linear-gradient syntax from `left` to `to right`
|
|
49cf8991
|
2016-03-08T15:03:59
|
|
Fix minor bug with new greedy-feature
This fixes a minor bug that causes invalid highlighting in some
edge cases, where two greedy patterns overlap each other.
|
|
5978d4a0
|
2016-03-08T13:57:56
|
|
Merge pull request #905 from desertjim/gh-pages
Support For Annotations in Java
|
|
367ace62
|
2016-03-05T17:41:56
|
|
1)Adding annotation token for Java
2)Aliasing java annotation to punctuation
3)Aliasing grovy annotation to punctuation
4)Adding in sample code
|
|
9c1a9703
|
2016-02-26T14:49:06
|
|
Merge pull request #904 from zeitgeist87/order-components
Add after-property to allow ordering of plugins
|
|
224b7a15
|
2016-02-26T15:29:36
|
|
Add after-property to allow ordering of plugins
Some plugins do not depend on each other and can be used
independently, but if they are used at the same time, they have to
be executed in a specific order.
The "after"-property in components.js, allows the download page to
concatenate the plugins in the right order, without enforcing a
hard dependency.
|
|
8cf72b33
|
2016-02-26T10:20:41
|
|
Remove the force-to-the-top hack for normalize-whitespace
|
|
39e9e8d7
|
2016-02-25T23:55:16
|
|
Put Unescaped Markup above normalize whitespace in a futile attempt to get them to execute in the right order :/
|
|
4b47a992
|
2016-02-25T23:51:01
|
|
Added Unescaped Markup to the list of components, since no bugs were found.
We can always add features later.
|
|
954c90a2
|
2016-02-20T21:01:45
|
|
Merge pull request #779 from zeitgeist87/gh-pages
Partial solution for the "Comment-like substrings"-problem
|
|
16f6f39f
|
2016-02-19T23:11:10
|
|
Remove direction-property from themes
Remove direction-property from all themes, because it is
incompatible with the EPUB-format. This was reported in issue
#902.
|
|
c88036ca
|
2016-02-19T22:27:22
|
|
Add tests for new greedy-pattern feature and fix bug in Kotlin
This patch adds tests for the new greedy-pattern feature and fixes
a small bug in the Kotlin language, that resulted from that.
It also cleans up some of the comments and refactors a few lines
in the tokenloop.
|
|
24a09361
|
2016-02-19T13:38:54
|
|
Fix double HTML-encoding bug in Groovy language
|
|
90432f96
|
2016-02-18T01:22:40
|
|
Add comments to better document the greedy-pattern feature
|
|
2705c509
|
2015-09-24T19:36:10
|
|
Partial solution for the "Comment-like substrings"-problem
This patch introduces a new attribute called `greedy`. The
attribute is a simple boolean flag. If there is no match
for a greedy pattern it can concatenate the next two tokens
into a single string and try to match on this string again.
If a match is found on the second attempt, then the old tokens are
deleted and replaced by the new match.
This solves the "Comment-like substrings"-problem for exactly one
comment at very little cost. With this patch the following code is
highlighted correctly:
"foo /* bar */ baz"; "foo // bar";
/lala"test"sdf/;
This approach fails if there are more than one comments inside the
string:
"foo /* bar */ baz /* bar */ baz";
Signed-off-by: Andreas Rohner <andreas.rohner@gmx.net>
|
|
54400fba
|
2016-02-17T15:26:01
|
|
Add property 'aliasTitles' to components.js
This is necessary, because a language that has a lot of aliases
like markup (HTML, SVG, XML, MathML), is only added to the
languageMap once as "Markup". So any plugin that depends on the
languageMap is limited by that.
This patch allows the definition of additional titles for
languages, depending on the alias that is used.
|
|
e29cbe1c
|
2016-02-15T15:47:48
|
|
[unescaped markup] Fix small issues @zeitgeist87 pointed out
|
|
ad30c323
|
2016-02-14T21:25:57
|
|
[unescaped markup] Fixed bug with escaped </script>
|
|
07d77e53
|
2016-02-14T21:08:34
|
|
Added unescaped markup plugin (hidden)
|
|
af8da8ec
|
2016-02-14T21:08:14
|
|
Implemented @zeitgeist87’s suggestion in #890 re: env.elements
|
|
49a3324b
|
2016-02-13T19:32:40
|
|
Merge pull request #890 from PrismJS/LeaVerou-patch-1
Add before-highlightall hook
|
|
eb2a8d86
|
2016-02-13T15:29:46
|
|
Changed weight in the header, as we’re now 2KB minified & gzipped. Also way overdue :)
|
|
fc3195b6
|
2016-02-13T15:26:22
|
|
Changed the text in the header. Way overdue, as Prism’s popularity has way surpassed that of Dabblet
|
|
70a8602f
|
2016-02-13T15:21:28
|
|
Add before-highlightall hook
Needed for unescaped markup plugin, as discussed in #887.
Alternatively, we could reinstate @zeitgeist87’s PR about making the selector a config option.
Thoughts?
|
|
c1e75bde
|
2016-02-12T23:23:25
|
|
Merge pull request #889 from zeitgeist87/FixRegexp
Fix catastrophic backtracking regex issues
|
|
ab65be27
|
2016-02-12T21:32:19
|
|
Fix catastrophic backtracking regex issues
|
|
99c30e4e
|
2016-02-12T11:03:08
|
|
Add missing prism.js to the documentation of normalize-whitespace
|
|
f1c71994
|
2016-02-12T10:53:38
|
|
Cleanup normalize-whitespace and improve keep-markup integration
This patch removes the misleading references to the parse-settings
plugin from the normalize-whitespace documentation and adds a
description for all supported operations.
The keep-markup plugin sets the property Prism.plugins.KeepMarkup
to allow the normalize-whitespace plugin to optimize its
operation.
Furthermore, the normalize-whitespace plugin makes sure, that it
is the first plugin to run on a particular code block.
|
|
e4c79228
|
2016-02-10T12:26:04
|
|
Merge pull request #884 from zeitgeist87/NormalizeWSKeepMarkupSupport
Preserve Markup in Normalize-Whitespace plugin
|
|
6880b3c1
|
2016-02-10T11:08:44
|
|
Preserve Markup in Normalize-Whitespace plugin
Since the Normalize-Whitespace plugin is only concerned with
whitespace, it is easy to preserve the markup for other plugins
like keep-markup.
|
|
eb68eb83
|
2016-02-07T18:53:04
|
|
Update CHANGELOG and run gulp
|
|
8f79f3b3
|
2016-02-06T16:36:30
|
|
Merge pull request #880 from montogeek/gh-pages
Fix Keep Markup plugin incorrect highlighting
|