components


Log

Author Commit Date CI Message
Golmote 9f1f8d67 2018-03-03T20:53:08 PHP: Add support for string interpolation inside double-quoted strings. Fix #1146
Golmote e0cd47f8 2018-03-03T20:13:59 Core: Don't thow an error if lookbehing is used without anything matching.
tkjone 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!!
Golmote 3bc3e9cd 2018-03-02T00:33:04 Powershell: Add support for two levels of nested brackets inside namespace pattern. Fixes #1317
Golmote 20111c46 2018-03-01T23:26:26 Run gulp
paladox 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
Jan T. Sott ad2948f5 2018-02-12T23:17:40 Add missing NSIS commands (#1289) * add missing commands * update tests
Jan T. Sott 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
Mattias 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
Mattias 5de1b1f6 2018-02-03T12:17:53 Improve typescript with builtins (#1277)
Andreas Lind 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
Iván Sanz Carasa 3da238fe 2018-01-28T10:44:38 Add C++ platform-independent types (#1271) * Add platform-independent types * Add tests and min
Ilias Van Peer 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
Golmote bf9a314d 2018-01-02T09:01:36 IchigoJam: Remove unneeded escape
Golmote 6e9f748b 2018-01-02T09:00:10 Run gulp
Ales Tsurko 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
Andreas Rohner d134a3aa 2017-12-27T12:31:35 Add the C++11 raw string feature to the cpp language
Golmote 37af5003 2017-12-19T07:52:43 IchigoJam: Make strings greedy
Golmote 60114d03 2017-12-19T07:51:25 BASIC: Make strings greedy
Golmote 39502622 2017-12-19T07:50:47 Run gulp
Cocoa Oikawa 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
Kevin Zurawel 2ece18b4 2017-12-16T10:35:23 Add support for 6502 assembly (#1245) * Add support for 6502 assembly * Address PR feedback
Tuna Celik 0fffa9df 2017-12-06T20:27:49 Xeora Language implementation (#1239)
Hisateru Tanaka 69f2e2cb 2017-12-06T04:10:50 Allow any element being root instead of document. (#1230) (better compatibility than #397)
Golmote 7dc1e453 2017-12-05T08:58:11 CSS and JS: Make CSS and JS inclusions in Markup greedy. Fix #1240
Golmote f41c5cd5 2017-11-29T08:35:55 JSX: Improve highlighting support. Fix #1235 and #1236
Golmote 9a542a00 2017-11-28T19:41:58 PHP: Add support for multi-line strings. Fix #1233
Valtteri Laitinen 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.
Valtteri Laitinen 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
Golmote d27b70dc 2017-11-11T23:42:44 Add support for Flow Fix #1216
Golmote 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.
Golmote c33be19a 2017-11-05T13:32:00 Core: Prevent error from throwing when element does not have a parentNode in highlightElement. Fix #1203
Golmote 1fd690dd 2017-10-22T15:36:14 YAML: Regexp optimisation + don't use captures if not needed
Golmote 6b6fd93f 2017-10-22T15:35:32 Wiki markup: Fix escaping consistency
Golmote 700505e5 2017-10-22T15:34:46 vim: Remove duplicates in keywords
Golmote 7af36df5 2017-10-22T15:33:27 VHDL: Regexp optimisation and simplification
Golmote 1b24b34b 2017-10-22T15:32:06 Verilog: Regexp simplification
Golmote e296caf0 2017-10-22T15:31:35 TypeScript: Don't use captures if not needed
Golmote 0b10fd07 2017-10-22T15:31:03 Twig: Regexp optimisation and simplification + don't use captures if not needed
Golmote 08139add 2017-10-22T15:30:27 Textile: Regexp optimisation + don't use captures if not needed
Golmote f0b8a337 2017-10-22T15:28:42 Tcl: Regexp simplification + don't use captures if not needed
Golmote a2d737aa 2017-10-22T15:28:10 Swift: Don't use captures if not needed
Golmote df9506c5 2017-10-22T15:27:48 Stylus: Regexp optimisation
Golmote a6244a40 2017-10-22T15:27:29 SQL: Regexp optimisation
Golmote e169be9b 2017-10-22T15:26:54 Smarty: Regexp optimisation and simplification
Golmote 41a2c769 2017-10-22T15:26:28 Smalltalk: Regexp simplification
Golmote c60b7d4e 2017-10-22T15:26:01 SCSS: Regexp simplification
Golmote bd19b048 2017-10-22T15:24:51 Scheme: Regexp optimisation
Golmote 5f50c12b 2017-10-22T15:23:52 Scala: Regexp optimisation
Golmote 165d9576 2017-10-22T15:23:30 Sass: Regexp simplification
Golmote cc9d8749 2017-10-22T15:22:32 Rust: Regexp optimisation and simplification + don't use captures if not needed
Golmote 4902ed48 2017-10-22T15:21:42 Ruby: Regexp optimisation and simplification + don't use captures if not needed
Golmote d7f0ee87 2017-10-22T15:20:31 Rip: Regexp optimisation
Golmote 1a8b3e94 2017-10-22T15:20:01 reST: Regexp simplification + don't use captures if not needed
Golmote 91d84d92 2017-10-22T15:19:33 Ren'py: Make strings greedy + don't use captures if not needed
Golmote 19d79b45 2017-10-22T15:18:36 Reason: Regexp optimisation + don't use capture if not needed
Golmote 06a9da4c 2017-10-22T15:18:00 R: Regexp optimisation
Golmote 69459f01 2017-10-22T15:17:41 Qore: Regexp simplification
Golmote f09f9f58 2017-10-22T15:17:05 Python: Make triple-quoted strings greedy + regexp optimisation and simplification
Golmote 92318b07 2017-10-22T15:15:56 Pure: Make inline-lang greedy
Golmote 76dc9257 2017-10-22T15:15:22 Pug: Don't use captures if not needed
Golmote 3e256d8e 2017-10-22T15:14:51 Protocol Buffers: Don't use captures if not needed
Golmote 678b6212 2017-10-22T15:14:21 .properties: Regexp optimisation
Golmote 8110d384 2017-10-22T15:13:53 Processing: Regexp simplification
Golmote 0d05957a 2017-10-22T15:13:28 PowerShell: Regexp optimisation + don't use captures if not needed
Golmote 5235f18e 2017-10-22T15:12:42 PHP: Don't use captures if not needed
Golmote 9049a2a9 2017-10-22T15:12:16 PHP Extras: Add word boundary after global keywords + don't use captures if not needed
Golmote 0fe4cf62 2017-10-22T15:11:36 Perl: Regexp optimisation and simplification + don't use captures if not needed
Golmote 569d511f 2017-10-22T15:09:26 PARI/GP: Regexp simplification
Golmote 2c7b59bb 2017-10-22T15:09:02 PARI/GP: Regexp optimisation
Golmote 9320e927 2017-10-22T15:08:29 Oz: Fix atom regexp
Golmote 5e70f1d6 2017-10-22T15:07:08 OpenCL: Don't use captures if not needed
Golmote 5f5f38ca 2017-10-22T15:06:42 OCaml: Regexp simplification
Golmote 9be0f888 2017-10-22T15:06:15 Objective-C: Don't use captures if not needed
Golmote beeb1078 2017-10-22T15:05:42 NSIS: Regexp optimisation + don't use captures if not needed
Golmote c6e71950 2017-10-22T15:05:07 nginx: Remove trailing comma + remove duplicates in keywords
Golmote 99374285 2017-10-22T15:04:13 NASM: Regexp optimisation and simplification + don't use captures if not needed
Golmote 2d3f9dfe 2017-10-22T15:03:22 N4JS: Don't use captures if not needed
Golmote 7f471403 2017-10-22T15:02:59 Monkey: Don't use captures if not needed
Golmote 4cd4f01b 2017-10-22T15:02:28 MATLAB: Make strings greedy + handle line feeds better
Golmote ea380c6c 2017-10-22T15:00:54 Markup: Regexp optimisation + fix punctuation inside attr-value
Golmote f489a1e7 2017-10-22T14:56:57 Markdown: Don't use captures if not needed
Golmote 20ae2e5f 2017-10-22T14:56:15 Makefile: Regexp optimisation
Golmote 52903aff 2017-10-22T14:55:51 LOLCODE: Don't use captures if not needed
Golmote c5810498 2017-10-22T14:55:20 LiveScript: Make interpolated strings greedy + fix variable and identifier regexps
Golmote aa426b02 2017-10-22T14:52:59 LaTeX: Regexp optimisation and simplification
Golmote 12ff8dce 2017-10-22T14:51:41 Kotlin: Regexp simplification
Golmote 97260870 2017-10-22T14:51:04 Keyman: Regexp optimisation + don't use captures if not needed
Golmote 12684c01 2017-10-22T14:50:14 Julia: Regexp optimisation and simplification
Golmote 28de4e2e 2017-10-22T14:49:30 JSX: Regexp optimisation + handle spread operator as a whole
Golmote 8fc1b031 2017-10-22T14:48:06 JSON: Regexp optimisation + don't use captures if not needed
Golmote a491f9e3 2017-10-22T14:47:30 Jolie: Regexp optimisation + don't use captures if not needed + remove duplicates in keywords
Golmote 93d4002c 2017-10-22T14:46:33 JavaScript: Regexp optimisation + don't use captures if not needed
Golmote 96b35c85 2017-10-22T14:44:26 Java: Don't use captures if not needed
Golmote de151507 2017-10-22T14:43:51 J: Regexp simplification
Golmote 9cf64a00 2017-10-22T14:43:01 Icon: Regexp optimisation
Golmote 37ef24eb 2017-10-22T14:42:28 HTTP: Regexp simplification + don't use captures if not needed
Golmote f11390a4 2017-10-22T14:42:04 Haskell: Regexp simplification + don't use captures if not needed
Golmote 09dbfce5 2017-10-22T14:41:27 Handlebars: Regexp optimisation + don't use captures if not needed
Golmote 23e3b43e 2017-10-22T14:40:26 Haml: Regexp optimisation + don't use captures if not needed + fix typo in comment