|
a31f4906
|
2017-12-05T21:25:21
|
|
Revert "Line Highlight: Inherit white-space from pre"
This reverts commit d6881da
This is actually a bad idea since Line highlight does not fully support soft wrap on its own at the moment. It relies on Line numbers to work properly.
|
|
d6881dac
|
2017-12-05T21:19:48
|
|
Line Highlight: Inherit white-space from pre
|
|
3842a914
|
2017-12-05T21:19:20
|
|
Line Highlight: Don't wait for the Line numbers plugin to load if the element does not have the line-numbers class
|
|
d8999891
|
2017-12-05T21:18:21
|
|
Run gulp
|
|
e63058f9
|
2017-12-05T22:16:35
|
|
Fixes to compatibility of line number and line higlight plugins (#1194)
* Fix line breaks issues in line numbers plugin used with soft wraps option
* Fix line highlight plugin compatibility issues with line number plugin
* Revert rename data attribute for line numbers plugin
* Fix compatibility issues with line highlight and line numbers
|
|
ac219d7a
|
2017-12-05T14:18:52
|
|
Coy Theme: The 'height' element makes code blocks the height of the browser canvas. (#1224)
|
|
6e50d440
|
2017-12-05T20:17:39
|
|
Core: Update API doc to document `Prism.highlightAllUnder()`
|
|
69f2e2cb
|
2017-12-06T04:10:50
|
|
Allow any element being root instead of document. (#1230)
(better compatibility than #397)
|
|
7dc1e453
|
2017-12-05T08:58:11
|
|
CSS and JS: Make CSS and JS inclusions in Markup greedy. Fix #1240
|
|
af50e440
|
2017-12-05T08:50:14
|
|
Copy to clipboard: Update optional dependency to v1.7.1
|
|
a1b85e31
|
2017-12-05T08:47:42
|
|
Copy to clipboard: Update to v1.7.1. Fix #1220
|
|
e7b5e823
|
2017-12-05T08:46:24
|
|
Copy to clipboard: Fix test for native Clipboard. Fix #1241
|
|
f41c5cd5
|
2017-11-29T08:35:55
|
|
JSX: Improve highlighting support. Fix #1235 and #1236
|
|
9a542a00
|
2017-11-28T19:41:58
|
|
PHP: Add support for multi-line strings. Fix #1233
|
|
de6de454
|
2017-11-21T09:20:11
|
|
Optimize more Unicode regexes (#1229)
In previous commit, #1227, a “function” regex JavaScript definition was updated. The same regex is used in few more points, and this PR optimizes them too.
Tests are ran and passed.
|
|
f234ea40
|
2017-11-20T23:34:38
|
|
Unicode characters in CSS properties (#1227)
* Unicode characters in CSS properties
Highlight Unicode characters in CSS properties correctly, for example “.foo { --bär: 3 }”.
Optimized the “function” regex in the JavaScript definition: replaced “_a-zA-Z0-9” with “\w”, removed uppercase “A-Z” because the “i” flag is set.
Used that regex for CSS but removed “$” and added “-”.
* Add a test
* Add minified versions
* Update prism.js
* Revert "Update prism.js"
This reverts commit 241464ba1ba5e350b8483d926e73364f9e9d99c4.
* Update prism.js too
|
|
4c530a13
|
2017-11-11T23:43:28
|
|
Run gulp
|
|
d27b70dc
|
2017-11-11T23:42:44
|
|
Add support for Flow
Fix #1216
|
|
9969466b
|
2017-11-05T20:54:54
|
|
Fix alphabetical order in components.js
|
|
7741755a
|
2017-11-05T17:31:35
|
|
Release 1.8.4
|
|
d09982d8
|
2017-11-05T14:24:19
|
|
Core: Provide a way to load Prism from inside a Worker without listening to messages. (#1188)
Using disableWorkerMessageHandler config.
|
|
c33be19a
|
2017-11-05T13:32:00
|
|
Core: Prevent error from throwing when element does not have a parentNode in highlightElement. Fix #1203
|
|
1fd690dd
|
2017-10-22T15:36:14
|
|
YAML: Regexp optimisation + don't use captures if not needed
|
|
6b6fd93f
|
2017-10-22T15:35:32
|
|
Wiki markup: Fix escaping consistency
|
|
700505e5
|
2017-10-22T15:34:46
|
|
vim: Remove duplicates in keywords
|
|
7af36df5
|
2017-10-22T15:33:27
|
|
VHDL: Regexp optimisation and simplification
|
|
1b24b34b
|
2017-10-22T15:32:06
|
|
Verilog: Regexp simplification
|
|
e296caf0
|
2017-10-22T15:31:35
|
|
TypeScript: Don't use captures if not needed
|
|
0b10fd07
|
2017-10-22T15:31:03
|
|
Twig: Regexp optimisation and simplification + don't use captures if not needed
|
|
08139add
|
2017-10-22T15:30:27
|
|
Textile: Regexp optimisation + don't use captures if not needed
|
|
f0b8a337
|
2017-10-22T15:28:42
|
|
Tcl: Regexp simplification + don't use captures if not needed
|
|
a2d737aa
|
2017-10-22T15:28:10
|
|
Swift: Don't use captures if not needed
|
|
df9506c5
|
2017-10-22T15:27:48
|
|
Stylus: Regexp optimisation
|
|
a6244a40
|
2017-10-22T15:27:29
|
|
SQL: Regexp optimisation
|
|
e169be9b
|
2017-10-22T15:26:54
|
|
Smarty: Regexp optimisation and simplification
|
|
41a2c769
|
2017-10-22T15:26:28
|
|
Smalltalk: Regexp simplification
|
|
c60b7d4e
|
2017-10-22T15:26:01
|
|
SCSS: Regexp simplification
|
|
bd19b048
|
2017-10-22T15:24:51
|
|
Scheme: Regexp optimisation
|
|
5f50c12b
|
2017-10-22T15:23:52
|
|
Scala: Regexp optimisation
|
|
165d9576
|
2017-10-22T15:23:30
|
|
Sass: Regexp simplification
|
|
cc9d8749
|
2017-10-22T15:22:32
|
|
Rust: Regexp optimisation and simplification + don't use captures if not needed
|
|
4902ed48
|
2017-10-22T15:21:42
|
|
Ruby: Regexp optimisation and simplification + don't use captures if not needed
|
|
d7f0ee87
|
2017-10-22T15:20:31
|
|
Rip: Regexp optimisation
|
|
1a8b3e94
|
2017-10-22T15:20:01
|
|
reST: Regexp simplification + don't use captures if not needed
|
|
91d84d92
|
2017-10-22T15:19:33
|
|
Ren'py: Make strings greedy + don't use captures if not needed
|
|
19d79b45
|
2017-10-22T15:18:36
|
|
Reason: Regexp optimisation + don't use capture if not needed
|
|
06a9da4c
|
2017-10-22T15:18:00
|
|
R: Regexp optimisation
|
|
69459f01
|
2017-10-22T15:17:41
|
|
Qore: Regexp simplification
|
|
f09f9f58
|
2017-10-22T15:17:05
|
|
Python: Make triple-quoted strings greedy + regexp optimisation and simplification
|
|
92318b07
|
2017-10-22T15:15:56
|
|
Pure: Make inline-lang greedy
|
|
76dc9257
|
2017-10-22T15:15:22
|
|
Pug: Don't use captures if not needed
|
|
3e256d8e
|
2017-10-22T15:14:51
|
|
Protocol Buffers: Don't use captures if not needed
|
|
678b6212
|
2017-10-22T15:14:21
|
|
.properties: Regexp optimisation
|
|
8110d384
|
2017-10-22T15:13:53
|
|
Processing: Regexp simplification
|
|
0d05957a
|
2017-10-22T15:13:28
|
|
PowerShell: Regexp optimisation + don't use captures if not needed
|
|
5235f18e
|
2017-10-22T15:12:42
|
|
PHP: Don't use captures if not needed
|
|
9049a2a9
|
2017-10-22T15:12:16
|
|
PHP Extras: Add word boundary after global keywords + don't use captures if not needed
|
|
0fe4cf62
|
2017-10-22T15:11:36
|
|
Perl: Regexp optimisation and simplification + don't use captures if not needed
|
|
569d511f
|
2017-10-22T15:09:26
|
|
PARI/GP: Regexp simplification
|
|
2c7b59bb
|
2017-10-22T15:09:02
|
|
PARI/GP: Regexp optimisation
|
|
9320e927
|
2017-10-22T15:08:29
|
|
Oz: Fix atom regexp
|
|
5e70f1d6
|
2017-10-22T15:07:08
|
|
OpenCL: Don't use captures if not needed
|
|
5f5f38ca
|
2017-10-22T15:06:42
|
|
OCaml: Regexp simplification
|
|
9be0f888
|
2017-10-22T15:06:15
|
|
Objective-C: Don't use captures if not needed
|
|
beeb1078
|
2017-10-22T15:05:42
|
|
NSIS: Regexp optimisation + don't use captures if not needed
|
|
c6e71950
|
2017-10-22T15:05:07
|
|
nginx: Remove trailing comma + remove duplicates in keywords
|
|
99374285
|
2017-10-22T15:04:13
|
|
NASM: Regexp optimisation and simplification + don't use captures if not needed
|
|
2d3f9dfe
|
2017-10-22T15:03:22
|
|
N4JS: Don't use captures if not needed
|
|
7f471403
|
2017-10-22T15:02:59
|
|
Monkey: Don't use captures if not needed
|
|
4cd4f01b
|
2017-10-22T15:02:28
|
|
MATLAB: Make strings greedy + handle line feeds better
|
|
ea380c6c
|
2017-10-22T15:00:54
|
|
Markup: Regexp optimisation + fix punctuation inside attr-value
|
|
f489a1e7
|
2017-10-22T14:56:57
|
|
Markdown: Don't use captures if not needed
|
|
20ae2e5f
|
2017-10-22T14:56:15
|
|
Makefile: Regexp optimisation
|
|
52903aff
|
2017-10-22T14:55:51
|
|
LOLCODE: Don't use captures if not needed
|
|
c5810498
|
2017-10-22T14:55:20
|
|
LiveScript: Make interpolated strings greedy + fix variable and identifier regexps
|
|
aa426b02
|
2017-10-22T14:52:59
|
|
LaTeX: Regexp optimisation and simplification
|
|
12ff8dce
|
2017-10-22T14:51:41
|
|
Kotlin: Regexp simplification
|
|
97260870
|
2017-10-22T14:51:04
|
|
Keyman: Regexp optimisation + don't use captures if not needed
|
|
12684c01
|
2017-10-22T14:50:14
|
|
Julia: Regexp optimisation and simplification
|
|
28de4e2e
|
2017-10-22T14:49:30
|
|
JSX: Regexp optimisation + handle spread operator as a whole
|
|
8fc1b031
|
2017-10-22T14:48:06
|
|
JSON: Regexp optimisation + don't use captures if not needed
|
|
a491f9e3
|
2017-10-22T14:47:30
|
|
Jolie: Regexp optimisation + don't use captures if not needed + remove duplicates in keywords
|
|
93d4002c
|
2017-10-22T14:46:33
|
|
JavaScript: Regexp optimisation + don't use captures if not needed
|
|
96b35c85
|
2017-10-22T14:44:26
|
|
Java: Don't use captures if not needed
|
|
de151507
|
2017-10-22T14:43:51
|
|
J: Regexp simplification
|
|
9cf64a00
|
2017-10-22T14:43:01
|
|
Icon: Regexp optimisation
|
|
37ef24eb
|
2017-10-22T14:42:28
|
|
HTTP: Regexp simplification + don't use captures if not needed
|
|
f11390a4
|
2017-10-22T14:42:04
|
|
Haskell: Regexp simplification + don't use captures if not needed
|
|
09dbfce5
|
2017-10-22T14:41:27
|
|
Handlebars: Regexp optimisation + don't use captures if not needed
|
|
23e3b43e
|
2017-10-22T14:40:26
|
|
Haml: Regexp optimisation + don't use captures if not needed + fix typo in comment
|
|
e74e00c0
|
2017-10-22T14:39:31
|
|
Groovy: Regexp optimisation + don't use captures if not needed
|
|
2474f06d
|
2017-10-22T14:38:37
|
|
GraphQL: Regexp optimisation and simplification
|
|
88caabb9
|
2017-10-22T14:37:59
|
|
Go: Regexp optimisation + don't use captures if not needed
|
|
e66d21b0
|
2017-10-22T14:37:21
|
|
GLSL: Regexp optimisation
|
|
b9483b99
|
2017-10-22T14:36:53
|
|
Git: Regexp optimisation
|
|
f26197a5
|
2017-10-22T14:36:20
|
|
Gherkin: Regexp optimisation + don't use captures if not needed + added explanation comment on table-body regexp
|
|
7753fc43
|
2017-10-22T14:34:43
|
|
F#: Regexp optimisation + don't use captures if not needed
|
|
7547f839
|
2017-10-22T14:33:58
|
|
Erlang: Regexp optimisation
|
|
75d00d72
|
2017-10-22T14:33:11
|
|
Elixir: Regexp optimisation + uniform behavior between ~r and ~s
|
|
e881fe3f
|
2017-10-22T14:31:37
|
|
Eiffel: Regexp optimisation
|