|
b4509bf5
|
2018-04-11T08:58:28
|
|
Add support for Soy (Closure Template). Fix #1316 (#1387)
|
|
c28d8c5e
|
2018-04-11T08:53:56
|
|
Add support for WebAssembly. Fix #1140 and fix #1384 (#1386)
|
|
6e0b20a4
|
2018-04-11T08:50:52
|
|
Add support for GEDCOM. Fix #899 (#1385)
|
|
c673ec29
|
2018-04-11T08:47:26
|
|
Add support for Visual Basic. Fix #985 (#1382)
|
|
5a524f7e
|
2018-04-11T08:44:44
|
|
Add support for Velocity. Fix #1372 (#1378)
|
|
1bfc0848
|
2018-04-08T11:44:07
|
|
Bash: Add curl to the list of common functions. Close #1160
|
|
659ea314
|
2018-04-07T10:41:08
|
|
Core: Fix support for language alias containing dash `-`
|
|
04df41b3
|
2018-04-07T10:18:57
|
|
Eiffel: Fix verbatim strings. Fix #1379
|
|
46468f84
|
2018-04-05T12:24:22
|
|
Add support for Lisp (#1297)
* add emacs
* rename to elisp
* add elisp to components
* add comment test
* add heading test
* WIP string test
* update string tests
* test symbols in strings
* test arguments
* test quoted symbol
* lisp-property test
* splice test
* add keyword test
* test for declare
* test interactive
* boolean test
* test numbers
* test defvar
* fix greedy defun regex
* test defun
* test lambda
* test car
* test punctuation
* use var instead of const
* remove arrow functions
* flatten language structure
* remove unnecessary escaping
* add lisp and emacs
* add lisp
* fix template strings
* minify lisp
* add example elisp file
* simplify number
* don't mark other def as keywords
* dont mark other def as keyword in defun
* make lambda a keyword only at the beginning
* restore single quotes in components
* double quote in elisp
* minify elisp
* quote keys in components
* rename punctuation test
* add semicolons elisp
* undo prettier changes to components.js
* add lisp to components.json
* rename elisp to lisp
* fix components.json
* add minified lisp file
* rename example lisp file
* move lisp to first position
* explain null initialized properties in lisp file
* remove trailing commas
* put lisp first in example file
* add ifee for lisp file
* update lisp min file
* update show language assets
* add components index min file
* add emacs-lisp alias
* change title of lisp example file
* undo theme change
* combine regex for parens
* remove min index
* remove unneeded example html
* remove doubled string test
* capitalize lisp in components
* change string theme to match master
* build assets after adding lisp
|
|
238b1952
|
2018-04-05T08:33:59
|
|
SQL: Add missing keywords. Fix #1374
UNLOCK, PREPARE, LOOP, ITERATE, REPEAT, LEAVE, RESIGNAL
|
|
0a95f69d
|
2018-03-28T20:05:45
|
|
C#: More specific class-name highlighting. Fix #1371
|
|
b0e34fbe
|
2018-03-26T21:12:08
|
|
Ruby: Make multi-line comments greedy, remove single-line comment hack. Update known failures and tests.
|
|
a0f50811
|
2018-03-26T21:09:07
|
|
Q: Make comments greedy. Update known failures and tests.
|
|
0c139d1f
|
2018-03-26T21:05:43
|
|
Puppet: Make heredoc, comments, regexps and strings greedy. Update known failures and tests.
|
|
d7b2b43c
|
2018-03-26T21:00:12
|
|
Monkey: Make comments greedy. Update known failures and tests.
|
|
e93d61f3
|
2018-03-26T20:57:31
|
|
Elixir: Make regexps greedy, remove comment hacks. Update known failures and tests.
|
|
c083b78c
|
2018-03-26T20:54:34
|
|
Fortran: Make single-line comments greedy. Update known failures and tests.
|
|
571f2c50
|
2018-03-26T20:53:20
|
|
C-like: Make single-line comments greedy. Fix #1337. Make sure #1340 stays fixed.
|
|
294efaae
|
2018-03-26T20:48:26
|
|
Core: Greedy patterns should always be matched against the full string. Fix #1355
|
|
172d351a
|
2018-03-26T20:11:41
|
|
JavaScript: Improve Regex matching
|
|
9084481f
|
2018-03-26T09:17:05
|
|
JavaScript: Add support for constants. Fix #1348
|
|
a5cf3025
|
2018-03-26T08:53:43
|
|
Java: Add support for generics. Fix #1351
|
|
5f9c078a
|
2018-03-25T13:46:42
|
|
Make ERB, Handlebars, PHP and Smarty highlight properly in NodeJS (#1367)
|
|
a6837d24
|
2018-03-24T12:25:27
|
|
C#: More generic class-name highlighting. Fix #1365
|
|
b26bbb83
|
2018-03-22T08:42:16
|
|
JSX: Fix highlighting of empty objects. Fix #1364
|
|
d2c026ef
|
2018-03-20T20:56:40
|
|
Powershell: Add lookbehind to fix function interpolation inside strings. Fix #1361
|
|
a5331a68
|
2018-03-20T20:57:34
|
|
Add a loadLanguages() function for easy component loading on NodeJS (#1359)
|
|
2b8321d3
|
2018-03-20T08:37:58
|
|
JSX: Add support for plain text inside tags (#1357)
* JSX: Add support for plain text inside tags
* JSX: Use a "plain-text" token to identify plain text
* TSX: Add support for plain text
* Fix test after merge
|
|
af834be6
|
2018-03-14T20:38:47
|
|
Markup: Make tags greedy. Fix #1356
|
|
cc80ccda
|
2018-03-13T08:15:56
|
|
Remove most of the cloning occurrences in language definitions.
|
|
f90d5559
|
2018-03-13T08:11:25
|
|
Core: Allow cloning of circular structures. (#1345)
|
|
efdccbfe
|
2018-03-12T20:28:06
|
|
Rust: Improve char pattern so that lifetime annotations are matched better. Fix #1353
|
|
3599e6a3
|
2018-03-11T12:11:51
|
|
Add support for PL/SQL (#1338)
* Add support for PL/SQL (Fix #1149)
* Merge gh-pages
|
|
e6213acb
|
2018-03-11T12:02:50
|
|
Add support for ERB. Fix #1318
|
|
cebacdfa
|
2018-03-08T23:14:40
|
|
Revert "C-like: Change order of comment patterns and make multi-line one greedy. Fix #1337"
This reverts commit b98e5b9
|
|
5d658471
|
2018-03-08T22:21:24
|
|
Code style
|
|
a298c621
|
2018-03-08T22:20:37
|
|
Use i flag to simplify some regexps
|
|
12c0b20a
|
2018-03-08T22:19:01
|
|
Decouple minus sign from number pattern in most languages. Close #1110
|
|
05bf67dc
|
2018-03-08T09:05:21
|
|
JSX: Allow for one level of nested curly braces inside tag attribute value. Fix #1335
|
|
31a2a697
|
2018-03-08T08:43:54
|
|
Ruby: Ensure module syntax is not confused with symbols. Fix #1336
|
|
0bc98ac1
|
2018-03-07T21:31:40
|
|
Add support for ARFF (Fix #653) (#1327)
|
|
926f6f86
|
2018-03-07T21:23:21
|
|
Rust: Add support for lifetime-annotation and => operator. Fix #1339
|
|
b98e5b9b
|
2018-03-07T20:53:45
|
|
C-like: Change order of comment patterns and make multi-line one greedy. Fix #1337
|
|
de29d4a3
|
2018-03-07T08:50:40
|
|
SQL: Add missing keywords and functions, fix numbers
|
|
4593837f
|
2018-03-05T08:43:22
|
|
Ruby: Add keywords "protected", "private" and "public"
|
|
405867cb
|
2018-03-05T08:25:08
|
|
C#: Add "dotnet" alias.
|
|
4cb9888d
|
2018-03-05T08:22:53
|
|
C#: Reorder keywords
|
|
51bff80a
|
2018-03-04T18:42:41
|
|
Scheme: Don't highlight first number of a list as a function. Fix #1331
|
|
f0b2c9e8
|
2018-03-04T15:43:39
|
|
Basic Syntax Highlighting for Liquid (#1326)
* Basic Syntax Highlighting for Liquid
[Liquid](http://shopify.github.io/liquid/), a template language by shopify
It is used in Jekyll and add some basic highlighting
* fix typo
* Corrections and Improvements
- move liquid above livescript
- regnerate languages for show language plugin, after fixing typo
- keywords
- tablerow and endtablerow are keywords
- add all keywords in test
- add funtcions test
* Minor Corrections
comply to whitespace settings, use tabs instead of spaces for indentation
|
|
63fc2152
|
2018-03-03T22:45:25
|
|
Bash: Add support for quoted command substitution. Fix #1287
|
|
de8ebe20
|
2018-03-03T21:42:51
|
|
PHP: Code style
|
|
ad25d221
|
2018-03-03T21:41:19
|
|
PHP: Fix shell-comment failure now that strings are greedy
|
|
5d7223c9
|
2018-03-03T21:39:51
|
|
PHP: Add support for Heredoc and Nowdoc strings
|
|
9f1f8d67
|
2018-03-03T20:53:08
|
|
PHP: Add support for string interpolation inside double-quoted strings. Fix #1146
|
|
e0cd47f8
|
2018-03-03T20:13:59
|
|
Core: Don't thow an error if lookbehing is used without anything matching.
|
|
8b4d3bdc
|
2018-03-02T02:05:40
|
|
Add Clojure (#1311)
* Add Clojure
* Remove global flags
* Simplify comment match
* Update string regex
* Update keyword regex to use non-capturing group
* Update boolean regex to use non-capturing group
* Add intro to prism-clojure example HTML
* Remove duplicated comment test
* Fix thread-first macro highlight
Moved the thread-first macro (->) further up the group capture in order
to have it properly highlight...
* Add thread-last macro support
* Add `nil` to the boolean capture
I would like to rename the `boolean` group to something else as I don't
believe it is accurate now that `nil` is there.
* Update number regex to support hexidecimal
* Remove global from keyword object
* Add clojure.min
Forgot to compile with gulp in the last commit. my bad.
* Resolve operator regex note in code review
* Add "nil" test
* Fix test error - (>=) (==) (<=)
* Add more tests to keywords
* Fix indentation
* Remove duplicate test
* Remove duplicates partner from tests
* Fix indentation?
* Fix indentation...
* Fix indentation!!
|
|
3bc3e9cd
|
2018-03-02T00:33:04
|
|
Powershell: Add support for two levels of nested brackets inside namespace pattern. Fixes #1317
|
|
20111c46
|
2018-03-01T23:26:26
|
|
Run gulp
|
|
67e16a22
|
2018-03-01T22:25:47
|
|
Add Prism.languages.shell to bash file as an alias (#1321)
* Add Prism.languages.shell to bash file as an alias
Fixes #1320
|
|
ad2948f5
|
2018-02-12T23:17:40
|
|
Add missing NSIS commands (#1289)
* add missing commands
* update tests
|
|
bd1e98bf
|
2018-02-10T00:38:50
|
|
Add support for NSIS 3.03 (#1288)
* add missing separator
* add NSIS 3.03 support
* update tests
* remove yarn.lock
* gulp build
* restore NSIS 3.02 tests
|
|
fbe82b86
|
2018-02-05T08:36:19
|
|
added tsx support (#1280)
* added tsx support
* fixed order in components.js and added tsx example file
* escape less than and capitalize tsx
|
|
5de1b1f6
|
2018-02-03T12:17:53
|
|
Improve typescript with builtins (#1277)
|
|
b08cae56
|
2018-01-31T22:38:01
|
|
Add support for highlighting CSP, HSTS, and HPKP (#1275)
* Add CSP support.
* Add HPKP support.
* Add HSTS support.
* Updates based on feedback.
* Updates based on feedback.
* Updates based on feedback.
* Updates based on feedback.
* Updates based on feedback.
* Updates based on feedback.
* Updates based on Feedback.
* Fix parentheses.
* List csp, hpkp, and hsts in components.js
* Add missing base64 chars to 'nonce-...' and 'sha-...' source expressions
* Add support for 'sha384-...' and 'sha512-...' source expressions
* Add tests and examples for csp
* Add tests and examples for hsts
* Add tests and examples for hpkp
* hpkp: Include the sha256 hash in the directive itself
Prevent the numbers in the base64 string from being classified
as "safe" or "unsafe".
* Rebuild the minified csp and hpkp components
* Rebuild the "Show Language" plugin as well
* Fix copy/paste error in test description
|
|
3da238fe
|
2018-01-28T10:44:38
|
|
Add C++ platform-independent types (#1271)
* Add platform-independent types
* Add tests and min
|
|
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
|
|
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
|
|
0fffa9df
|
2017-12-06T20:27:49
|
|
Xeora Language implementation (#1239)
|
|
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
|
|
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
|
|
d27b70dc
|
2017-11-11T23:42:44
|
|
Add support for Flow
Fix #1216
|
|
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
|