|
e76cd720
|
2017-09-16T13:31:43
|
|
Release 1.8.1
|
|
335b693d
|
2017-09-16T13:29:04
|
|
Add Arduino to components.js
|
|
e612e5d7
|
2017-09-16T13:21:53
|
|
Release 1.8.0
|
|
ea8e3a9d
|
2017-09-16T13:14:50
|
|
Run gulp
|
|
edf2454c
|
2017-09-16T13:13:38
|
|
Merge branch 'master' of https://github.com/eisbehr-/prism into eisbehr--master
|
|
131e8fa0
|
2017-09-16T12:59:38
|
|
Merge branch 'Milania1-opencl' into gh-pages
|
|
5ac0afb4
|
2017-09-16T12:58:50
|
|
Merge branch 'opencl' of https://github.com/Milania1/prism into Milania1-opencl
# Conflicts:
# plugins/autoloader/prism-autoloader.js
# plugins/autoloader/prism-autoloader.min.js
# plugins/show-language/prism-show-language.js
# plugins/show-language/prism-show-language.min.js
|
|
2e43fcf1
|
2017-09-13T20:47:39
|
|
Autolinker: Silently catch any error thrown by decodeURIComponent. Fixes #1186
|
|
4b48de31
|
2017-09-12T08:36:11
|
|
add prism-arduino.html
|
|
a93a3247
|
2017-09-12T08:22:19
|
|
add prism-arduino.min.js
|
|
3acf53da
|
2017-09-12T08:21:51
|
|
add prism-arduino.js
|
|
b704486a
|
2017-09-11T21:38:56
|
|
Simplified regexes for OpenCL language
|
|
43fcb680
|
2017-09-09T15:12:44
|
|
Release 1.7.0
|
|
78db01eb
|
2017-09-09T14:01:07
|
|
Run gulp
|
|
76f4dc36
|
2017-09-09T14:00:52
|
|
Merge remote-tracking branch 'official/gh-pages' into gh-pages
|
|
2e4f98f0
|
2017-09-09T14:00:10
|
|
Docker: Updated tests
|
|
89aa4d9f
|
2017-09-09T13:53:48
|
|
Run gulp
|
|
d7805f23
|
2017-09-09T13:53:29
|
|
Merge branch 'gh-pages' of https://github.com/queicherius/prism into queicherius-gh-pages
|
|
abc007f6
|
2017-09-09T04:02:07
|
|
fixed an rendering issue for encoded urls (#1173)
If a url contains some special characters, like space or "<", it needs to be encoded in order to be recognized as a valid url. Adding a decoding step allows these urls to render correctly.
|
|
c685ca35
|
2017-09-09T12:58:24
|
|
NSIS: Update tests
|
|
80907dac
|
2017-09-09T12:52:27
|
|
Merge branch 'gh-pages' of https://github.com/idleberg/prism into idleberg-gh-pages
# Conflicts:
# components/prism-nsis.min.js
|
|
310990b2
|
2017-09-09T06:43:25
|
|
Scroll 'Coy' background with contents (#1163)
* Scroll 'Coy' background with contents
Attaches <pre> background (alternating line colors in 'Coy') to <code> contents when in limited-height <pre> that requires scrolling.
* Moves background to <code> element
Move background from <pre> element to <code> element to preserve <pre> drop-shadows while keeping background attached during scroll.
|
|
eaa8ebb4
|
2017-09-09T12:40:24
|
|
Merge branch 'n4js' of https://github.com/bsmith-n4/prism into bsmith-n4-n4js
# Conflicts:
# plugins/show-language/prism-show-language.js
# plugins/show-language/prism-show-language.min.js
|
|
11eed25d
|
2017-09-09T12:32:43
|
|
Remove yarn.lock (#1098)
See [Lockfiles should be committed on all projects](https://yarnpkg.com/blog/2016/11/24/lockfiles-for-all/)
|
|
43412659
|
2017-09-09T12:31:19
|
|
Run gulp
|
|
44f0ed1b
|
2017-09-09T12:31:08
|
|
C: Update tests
|
|
43a388ea
|
2017-09-09T12:23:51
|
|
Merge branch 'c-keywords' of https://github.com/xuhdev/prism into xuhdev-c-keywords
|
|
87780d26
|
2017-09-09T12:22:18
|
|
Run gulp
|
|
3fb7cf81
|
2017-09-09T12:21:10
|
|
Merge branch 'gh-pages' of https://github.com/dfitiskin/prism into dfitiskin-gh-pages
# Conflicts:
# plugins/line-numbers/prism-line-numbers.js
|
|
0621ff77
|
2017-09-09T12:12:00
|
|
Website: remove width and height on logo.svg, so it becomes scalable. Close #1005
|
|
25788eb5
|
2017-09-09T12:05:55
|
|
Merge branch 'RemoveIE8' of https://github.com/zeitgeist87/prism into zeitgeist87-RemoveIE8
# Conflicts:
# components/prism-core.js
# components/prism-core.min.js
# plugins/line-highlight/prism-line-highlight.js
# plugins/line-highlight/prism-line-highlight.min.js
# prism.js
|
|
3426ed16
|
2017-09-09T11:47:23
|
|
C-like: Add support for unclosed block comments. Close #828
|
|
2760ab5f
|
2017-09-09T11:37:24
|
|
Run gulp
|
|
7ab4013a
|
2017-09-09T11:36:53
|
|
Merge branch 'Hyuchia-renpy-language' into gh-pages
# Conflicts:
# components/prism-apl.js
# components/prism-apl.min.js
# plugins/show-language/prism-show-language.js
# plugins/show-language/prism-show-language.min.js
|
|
e06e3ae0
|
2017-09-09T11:36:11
|
|
Ren'py: Remove duplicates in alternatives
|
|
44010886
|
2017-09-09T11:28:31
|
|
Run gulp
|
|
29896336
|
2017-09-09T05:15:47
|
|
Add Composer support (#648)
|
|
7f664260
|
2017-09-09T11:11:35
|
|
Line numbers plugin: Don't use inline-block on code, it would break the Coy theme.
|
|
849f1d63
|
2017-09-09T11:07:02
|
|
Merge branch 'gh-pages' of https://github.com/VitaliyR/prism into VitaliyR-gh-pages
# Conflicts:
# plugins/line-numbers/index.html
# plugins/line-numbers/prism-line-numbers.js
|
|
2e32fc7e
|
2017-09-09T10:51:00
|
|
Eiffel: Make strings greedy and update tests and example
|
|
ea14c25d
|
2017-09-09T10:50:12
|
|
Eiffel: Add test for class-name
|
|
cd03587b
|
2017-09-09T10:39:04
|
|
Merge branch 'working' of https://github.com/Conaclos/prism into Conaclos-working
|
|
4e675629
|
2017-09-09T10:33:05
|
|
Run gulp
|
|
bd7149db
|
2017-09-09T10:29:00
|
|
Merge remote-tracking branch 'official/master' into gh-pages
# Conflicts:
# components/prism-apl.js
|
|
f0d73e07
|
2017-08-29T13:16:50
|
|
Update the list of keywords for dockerfiles
|
|
1a628b8d
|
2017-08-17T22:12:51
|
|
Add OpenCL language support
|
|
393b5f74
|
2017-07-26T20:46:07
|
|
add support for NSIS 3.02
|
|
afe0542b
|
2017-07-20T21:33:18
|
|
Chmod -x prism-typescript component (#1145)
|
|
5400af9e
|
2017-07-20T15:31:14
|
|
Added a default for classMap. Fixes #1137. (#1157)
When the classMap is accessed, it is undefined, causing this look up to fail. Defaulting it to an empty object provides the right logic.
https://github.com/PrismJS/prism/blob/16ce4b336d625e13065bfc12ab6d13ac862d6f50/plugins/custom-class/prism-custom-class.js#L25
|
|
c34e57b6
|
2017-07-20T04:05:07
|
|
Add Third Party Tutorial (#1156)
|
|
601c47f9
|
2017-07-17T19:20:22
|
|
Add dockerfile alias for docker language (#1164)
|
|
ac09e975
|
2017-07-11T08:13:50
|
|
JavaScript: Reduced backtracking in regex pattern. Fix #1159
|
|
16ce4b33
|
2017-07-05T19:55:44
|
|
Run gulp
|
|
b8c0a157
|
2017-07-05T19:55:16
|
|
JSX: Restore accidentally deleted regexp part in b0fe103
|
|
59141582
|
2017-07-05T19:48:40
|
|
Merge remote-tracking branch 'official/gh-pages' into gh-pages
|
|
b0fe1036
|
2017-07-05T19:47:46
|
|
JSX: Improved performance for tags (when not matching) Fix #1152
|
|
d4ee904e
|
2017-07-02T05:27:11
|
|
Allows uppercase prefixes in JS number literals (#1151)
JavaScript allows both lowercase and uppercase prefixes in number literals. With this commit, `0X`, `0B`, and `0O` are now supported as well.
|
|
1d5047df
|
2017-06-05T13:31:23
|
|
Support HTML entities in attribute values (#1143)
* Support HTML entities in attribute values
* Remove duplication
|
|
af937cf7
|
2017-05-29T17:15:03
|
|
expand on n4js example
|
|
3208e348
|
2017-05-29T15:34:02
|
|
temporarily remove type annotation support
|
|
98867cf0
|
2017-05-29T15:28:00
|
|
initial commit
|
|
07a6806b
|
2017-05-24T09:05:27
|
|
Support CSS #RRGGBBAA (#1139)
Add support for CSS #RRGGBBAA notation.
|
|
5df26e23
|
2017-05-13T09:57:11
|
|
Check for possible pre-existing marker strings in Smarty
|
|
7a1a4042
|
2017-05-13T09:45:45
|
|
Check for possible pre-existing marker strings in Handlebars
|
|
36bc560e
|
2017-05-13T09:34:37
|
|
Check for possible pre-existing marker strings in PHP
|
|
ba64f8dc
|
2017-05-13T08:19:59
|
|
Add missing noCSS property for the Custom Class plugin
|
|
1453fa7c
|
2017-05-08T22:37:39
|
|
Merge pull request #1100 from zeitgeist87/FixPHP
Fix the PHP language
|
|
6530709e
|
2017-05-08T22:36:56
|
|
Merge pull request #1095 from zeitgeist87/FixGreedy
Fix corner cases for the greedy flag
|
|
e13fdfa4
|
2017-02-08T17:19:22
|
|
Add minor optimizations for the greedy flag
|
|
1736f4aa
|
2017-02-08T01:36:27
|
|
Fix corner cases for the greedy flag
By refactoring the tokenize() method into two separate methods, it is
possible to recursively clean up any broken tokens left by the greedy
feature.
This should fix the issue 1075.
|
|
3ce74880
|
2017-03-30T18:39:16
|
|
Add support for the <?= delimiter in PHP
|
|
84107fab
|
2017-02-10T17:44:45
|
|
Use different replacement marker for PHP, because curly braces are
highlighted as punctuation in JavaScript and CSS.
|
|
0a00d7f7
|
2017-02-10T17:10:19
|
|
Fix the PHP language
This patch is an attempt to fix the PHP language, when it is combined
with markup.
The problem is, that markup has a higher priority than all other tokens.
This leads to weird errors, where HTML tags are highlighted inside of
comments #197. One solution to this was to set the `greedy` flag for the
comment token, but this leads to far worse errors like #1097.
This patch should fix both issues #197 and #1097, by switching the
grammar to markup on the fly. One potential problem is, that it relies
on the `<?php` tag to detect if markup is present. So if a PHP file
contains only markup and no PHP code at all, the result will look
broken.
|
|
62cdaf80
|
2017-05-08T13:39:11
|
|
Ruby: Add support for =begin =end comments. Manual merge of #1121.
|
|
65cbaa95
|
2017-05-08T13:27:57
|
|
Run gulp after #1107
|
|
88300817
|
2017-05-08T13:26:16
|
|
VB.Net: Add example + tests + fix regexps
|
|
54006515
|
2017-05-08T13:01:33
|
|
Merge branch 'gh-pages' of https://github.com/Bigsby/prism-1 into Bigsby-gh-pages
|
|
8aa2cc4a
|
2017-05-08T13:56:50
|
|
Replace [\w\W] with [\s\S] and [0-9] with \d in regexes (#1107)
* Replace [\w\W] with [^] and [0-9] with \d in regexes
* Replace [\s\S] with [^]
* Replace [^] with [\s\S]
|
|
3a409222
|
2017-05-08T12:54:53
|
|
Run gulp after #1033
|
|
01a59d81
|
2017-05-08T12:54:33
|
|
Merge branch 'idleberg-gh-pages' into gh-pages
# Conflicts:
# components/prism-nsis.min.js
|
|
48bbc397
|
2017-05-08T12:54:17
|
|
Fix tests for #1033
|
|
3a157172
|
2017-05-08T12:53:16
|
|
Merge branch 'gh-pages' of https://github.com/idleberg/prism into idleberg-gh-pages
# Conflicts:
# components/prism-nsis.js
# components/prism-nsis.min.js
# tests/languages/nsis/constant_feature.test
|
|
2094221b
|
2017-05-08T12:33:12
|
|
APL: Run gulp + updated test after #1126
|
|
a5f3cdbd
|
2017-05-08T11:31:14
|
|
Update prism-apl.js (#1126)
Add @ (At) and ⌺ (Stencil), two new dyadic operators coming in Dyalog APL version 16.0.
|
|
9f649fbe
|
2017-05-08T12:05:35
|
|
JavaScript: Properly match every operator as a whole token. Fix #1133
|
|
ea8a2ca2
|
2017-05-08T11:46:05
|
|
Merge remote-tracking branch 'official/gh-pages' into gh-pages
|
|
6df2cebc
|
2017-05-08T11:45:31
|
|
Keep markup plugin: Store highlightedCode after reinserting markup. Fix #1127
|
|
70cb4729
|
2017-05-08T11:44:21
|
|
Run before-highlight and after-highlight hooks even when no grammar is found. Fix #1134
|
|
a7a47653
|
2017-03-28T00:01:43
|
|
Add prism-vbnet.min.js
|
|
b846339f
|
2017-03-27T23:59:53
|
|
Add vbnet.js
|
|
1f699e7c
|
2017-03-09T23:34:33
|
|
.npmignore: Unignore components.js (#1108)
For the trick suggested by @apfelbox in
https://github.com/PrismJS/prism/issues/593#issuecomment-219856317
to work, we need both of these files to be in the NPM package:
/components.js
/tests/helper/components.js
|
|
867ea428
|
2017-03-02T08:26:05
|
|
JSX: Fix highlighting of attributes containing spaces
|
|
0a3d2a98
|
2017-03-02T08:08:14
|
|
Run gulp
|
|
125bff10
|
2017-03-02T16:07:01
|
|
Update Crystal keywords (#1092)
- Add `select`, `uninitialized` and `__END_LINE__`
- Remove `ifdef`
|
|
224fdb8a
|
2017-02-13T18:47:14
|
|
Avoid conflict between line-highlight and other plugins
The line-highlight plugin should not overwrite env.code, because other
plugins (e.g. normalize-whitespace) might have modified it.
|
|
79b723dc
|
2017-02-13T17:37:43
|
|
Cleanup left-over line-highlight tags before other plugins run
The tags used by the line-highlight plugin are appended to the <code>
tag. This causes problems with the autoloader plugin, because the
tags contain whitespace and therefore change the content of the <code>
tag.
This patch fixes the issue #1101, by removing any line-highlight tags
with the `before-sanity-check` hook.
|
|
6c7dae20
|
2017-02-11T01:09:09
|
|
Add Node.js support for the normalize-whitespace plugin
|
|
867c11da
|
2017-02-10T14:01:10
|
|
Fix path to deleted example file
|
|
bf551967
|
2017-02-08T23:25:12
|
|
Clean up no longer relevant failures in examples
|
|
f047d6f6
|
2017-02-08T23:24:03
|
|
Remove some trailing commas
|