|
1e5bcf7c
|
2018-01-17T23:50:27
|
|
Release 1.10.0
|
|
7bcdae72
|
2018-01-17T23:32:41
|
|
Unescaped markup plugin: Make it work with any language (#1265)
|
|
28e4b4c6
|
2018-01-16T08:48:08
|
|
Previewers: New plugin combining previous plugins Previewer: Base, Previewer: Angle, Previewer: Color, Previewer: Easing, Previewer: Gradient and Previewer: Time. Fix #913 (#1244)
|
|
d6da70e0
|
2018-01-16T08:40:39
|
|
Add Elm (elm-lang.org) support (#1174)
* Add Elm (elm-lang.org) support
* Simplify patterns and fix a few things inherited from haskell
* Add example and minified file
* Clean up comment pattern, drop redundant groups, tabs for indents
|
|
bf9a314d
|
2018-01-02T09:01:36
|
|
IchigoJam: Remove unneeded escape
|
|
6e9f748b
|
2018-01-02T09:00:10
|
|
Run gulp
|
|
84ed3edf
|
2018-01-02T10:58:10
|
|
add Io syntax (#1251)
* add Io
* Io: fix strings and operators, add tests
* fix indent
* add package-lock.json to gitignore
* exclude gitignore and package.json changes
* use tabs
* io: apply requested changes
* fix indent
* fix indent
* io: add example file
|
|
a9b67859
|
2018-01-02T15:39:40
|
|
package.json: add attribute `style` (#1256)
|
|
71595bec
|
2017-12-27T17:16:21
|
|
Merge pull request #1254 from zeitgeist87/CppRaw
Add the C++11 raw string feature to the cpp language
|
|
d134a3aa
|
2017-12-27T12:31:35
|
|
Add the C++11 raw string feature to the cpp language
|
|
37af5003
|
2017-12-19T07:52:43
|
|
IchigoJam: Make strings greedy
|
|
60114d03
|
2017-12-19T07:51:25
|
|
BASIC: Make strings greedy
|
|
39502622
|
2017-12-19T07:50:47
|
|
Run gulp
|
|
cf840be1
|
2017-12-19T14:46:30
|
|
Add support for IchigoJam BASIC (#1246)
* Add support for IchigoJam BASIC
Hi. This PR adds support for [IchigoJam](https://ichigojam.net/), which is a board that using its own BASIC language, so I was not extending this from `basic`, but submit as a standalone language.
If there're anything necessary to change, please reply to me and I'll respond to you ASAP.
* Requested modifications have been made.
And after digging into the docs, IchigoJam actually use a very small set of ```basic``` and it adds a different set of markers to its own ```basic``` language, so I just keep this as a standalone language.
* fixed the regexp for comment, number, operator and punctuation
For IchigoJam, the space is not required to be appeared after the ```'``` or ```REM```.
Add support for binary and hex numbers
Specified for IchigoJam
Add ```[``` and ```]``` for IchigoJam
* Add example code for IchigoJam.
* Add test-suite for IchigoJam
* Add prism-ichigojam.min.js
|
|
2ece18b4
|
2017-12-16T10:35:23
|
|
Add support for 6502 assembly (#1245)
* Add support for 6502 assembly
* Address PR feedback
|
|
39360d6d
|
2017-12-07T19:58:28
|
|
Merge branch 'autoloader-path1' of https://github.com/bazooka07/prism into bazooka07-autoloader-path1
# Conflicts:
# plugins/autoloader/prism-autoloader.min.js
|
|
e66de38b
|
2017-12-06T23:03:15
|
|
fix for autoloader plugin
|
|
05cc391a
|
2017-12-06T20:35:51
|
|
Run gulp and reorder components alphabetically
|
|
0fffa9df
|
2017-12-06T20:27:49
|
|
Xeora Language implementation (#1239)
|
|
d74430ff
|
2017-11-25T16:31:01
|
|
upgrade autoloader
|
|
a2f60f07
|
2017-12-06T00:45:49
|
|
Release 1.9.0
|
|
928790d8
|
2017-12-05T22:23:45
|
|
Download page: Add version number at the beginning of the generated files. Fix #788
|
|
f986551b
|
2017-12-05T22:10:09
|
|
Download page: Fix implicitly declared variable
|
|
924784a8
|
2017-12-05T21:38:43
|
|
Unescaped Markup: Fix ambiguity in documentation by improving examples. Fix #1197
|
|
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
|