examples


Log

Author Commit Date CI Message
Mark Shi e529edd8 2018-09-15T21:52:37 Add GameMaker Language support (#1551) GameMaker is a cross-platform game engine developed by YoYo Games.
mAAdhaTTah e00b408f 2018-06-26T11:32:31 Remove extraneous class
Brandon Rhodes 334c7bca 2018-06-26T11:21:28 Add Python triple-quoted strings "known failure" (#1449) * Add example of failure in Python parser
Golmote e326cb03 2018-05-26T11:39:35 Add support for XQuery. Fix #1405 (#1411)
Guido Flohr e063992b 2018-05-10T12:07:34 Support for Template Toolkit 2 (#1418) * support for Template Toolkit 2 * optimized quoted string regexes * optimized double-quoted string regex * fully qualified tt2 plug-in names don't work Also use \w. * do not use empty character class See #1107. * put keyword tests in alphabetical order * ordered tt2 keywords alphabetically * removed redundant operator rule for tt2 * removed possibly existing old rules before inserti * indentation * allow backslash in front of lf in tt2 strings * indentation * avoid backtracking * escape xml special characters * indent with tab instead of spaces * greedy is no longer needed for variables Also use \w instead of explicit character class. * re-generated with gulp
Golmote db2d0ebb 2018-04-22T15:12:28 JavaScript: Add support for one level of nesting inside template strings. Fix #1397
Golmote b4509bf5 2018-04-11T08:58:28 Add support for Soy (Closure Template). Fix #1316 (#1387)
Golmote c28d8c5e 2018-04-11T08:53:56 Add support for WebAssembly. Fix #1140 and fix #1384 (#1386)
Golmote 6e0b20a4 2018-04-11T08:50:52 Add support for GEDCOM. Fix #899 (#1385)
Golmote c673ec29 2018-04-11T08:47:26 Add support for Visual Basic. Fix #985 (#1382)
Golmote 5a524f7e 2018-04-11T08:44:44 Add support for Velocity. Fix #1372 (#1378)
Juan Caicedo 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
Golmote 259b6fc5 2018-03-26T21:18:06 Matlab: Update known failures.
Golmote 5b6c76dc 2018-03-26T21:16:49 Markdown: Update known failures.
Golmote 13d99915 2018-03-26T21:15:10 D: Update known failures and tests.
Golmote e1d2d420 2018-03-26T21:13:43 Crystal: Update known failures.
Golmote b0e34fbe 2018-03-26T21:12:08 Ruby: Make multi-line comments greedy, remove single-line comment hack. Update known failures and tests.
Golmote a0f50811 2018-03-26T21:09:07 Q: Make comments greedy. Update known failures and tests.
Golmote 0c139d1f 2018-03-26T21:05:43 Puppet: Make heredoc, comments, regexps and strings greedy. Update known failures and tests.
Golmote d7b2b43c 2018-03-26T21:00:12 Monkey: Make comments greedy. Update known failures and tests.
Golmote e93d61f3 2018-03-26T20:57:31 Elixir: Make regexps greedy, remove comment hacks. Update known failures and tests.
Golmote c083b78c 2018-03-26T20:54:34 Fortran: Make single-line comments greedy. Update known failures and tests.
Golmote 3599e6a3 2018-03-11T12:11:51 Add support for PL/SQL (#1338) * Add support for PL/SQL (Fix #1149) * Merge gh-pages
Golmote e6213acb 2018-03-11T12:02:50 Add support for ERB. Fix #1318
Golmote c3ed5b52 2018-03-11T11:11:05 Website: Auto-generate example header with component title, list of aliases and dependencies. `overrideExampleHeader` can be used to generate only the component title.
Golmote 0bc98ac1 2018-03-07T21:31:40 Add support for ARFF (Fix #653) (#1327)
Golmote 405867cb 2018-03-05T08:25:08 C#: Add "dotnet" alias.
Tan-Vinh Nguyen 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
Golmote ad25d221 2018-03-03T21:41:19 PHP: Fix shell-comment failure now that strings are greedy
Golmote 5d7223c9 2018-03-03T21:39:51 PHP: Add support for Heredoc and Nowdoc strings
Golmote 5e9c5754 2018-03-03T21:30:42 PHP: Update example with string interpolation
Golmote bdbdb7d8 2018-03-02T08:58:55 PHP: Update known failures
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 8c3fa000 2018-03-01T23:51:10 Make listing of classes more uniform in aliased components' examples
Ben Kimball 5773ce40 2018-02-28T00:37:17 Ruby: Update known failures (#1309)
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
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
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
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
Golmote 37af5003 2017-12-19T07:52:43 IchigoJam: Make strings greedy
Golmote 60114d03 2017-12-19T07:51:25 BASIC: Make strings greedy
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)
Golmote d27b70dc 2017-11-11T23:42:44 Add support for Flow Fix #1216
Jake Miller f144623c 2017-10-10T15:11:20 Minor spelling differences for style
Jake Miller f680ee70 2017-10-10T15:05:49 Updated all instances of jade to be named pug.
Golmote edf2454c 2017-09-16T13:13:38 Merge branch 'master' of https://github.com/eisbehr-/prism into eisbehr--master
Golmote 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
Eisbehr 4b48de31 2017-09-12T08:36:11 add prism-arduino.html
Golmote 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
Golmote 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
Golmote 2e32fc7e 2017-09-09T10:51:00 Eiffel: Make strings greedy and update tests and example
Jan S. (Milania1) 1a628b8d 2017-08-17T22:12:51 Add OpenCL language support
bsmith af937cf7 2017-05-29T17:15:03 expand on n4js example
bsmith 98867cf0 2017-05-29T15:28:00 initial commit
Golmote 62cdaf80 2017-05-08T13:39:11 Ruby: Add support for =begin =end comments. Manual merge of #1121.
Golmote 88300817 2017-05-08T13:26:16 VB.Net: Add example + tests + fix regexps
Golmote bf551967 2017-02-08T23:25:12 Clean up no longer relevant failures in examples
Roman Miroshnychenko 345b1b2a 2017-01-28T11:08:49 Adds Django/Jinja2 language definition (#1085)
Diego Islas Ocampo df31330f 2016-12-29T11:05:48 Merge remote-tracking branch 'upstream/master' into renpy-language
Golmote 3cae6ce8 2016-11-19T12:16:31 Add support for Reason. Fix #1046
thesave dfc19413 2016-11-09T01:57:46 Add support for the Jolie language (#1014) * Added component for the Jolie language * Added Jolie among the supported components * update for merge - revised jolie component - added tests - added code example - minified with `gulp` * fixes * fixes * fixed Jolie html file example and highlight for punctuation * fixed indentation in test html file and added comma as punctuation
Golmote 5e62f023 2016-07-04T20:13:26 Add support for Xojo. Fix #898
Golmote 65619f7e 2016-07-03T03:20:53 Add support for Ada (generic). Closes #949
Golmote 9c5ffb5e 2016-06-27T01:26:39 Merge remote-tracking branch 'official/gh-pages' into prism-livescript Conflicts: plugins/show-language/prism-show-language.js plugins/show-language/prism-show-language.min.js
Golmote 9cfc8cb2 2016-06-18T19:39:36 Add support for LiveScript
Golmote 2607dcd9 2016-06-18T14:46:44 Add support for .properties files
Golmote bfb559bf 2016-06-11T01:17:24 Add support for GraphQL
wayward710 b8275198 2016-04-07T23:50:03 Fixed whitespaces, reordered tokens, used Gulp to min JS
wayward710 22bf9c55 2016-04-07T01:12:38 Fixed issues pointed out in previous pull request
wayward710 ff93a9cc 2016-04-01T02:56:29 Better HTML example
wayward710 9e8d4f99 2016-04-01T02:08:35 More improvements to Bro
wayward710 b25a7515 2016-03-31T03:34:23 Added Bro support to Prism
James Baca 367ace62 2016-03-05T17:41:56 1)Adding annotation token for Java 2)Aliasing java annotation to punctuation 3)Aliasing grovy annotation to punctuation 4)Adding in sample code
Golmote e8a31a50 2015-10-26T08:16:29 Merge pull request #814 from Golmote/prism-kotlin Add support for Kotlin
Golmote 81933ee8 2015-10-22T07:17:56 Merge pull request #813 from Golmote/prism-puppet Add support for Puppet configuration
Golmote f5db3463 2015-10-22T07:17:38 Merge pull request #812 from Golmote/prism-roboconf Add support for Roboconf
Golmote eb7aa969 2015-10-22T07:12:42 Add support for Kotlin
Golmote e7a623c5 2015-10-21T06:35:03 Merge branch 'gh-pages' into prism-haxe Conflicts: plugins/autoloader/prism-autoloader.js plugins/autoloader/prism-autoloader.min.js
Golmote 77c0b061 2015-10-21T06:32:15 Merge branch 'gh-pages' into prism-parser Conflicts: components.js
Golmote b7b1b6a9 2015-10-17T10:37:52 Merge branch 'gh-pages' into prism-oz Conflicts: components.js
Golmote a36bc4ae 2015-10-17T10:36:03 Merge pull request #804 from Golmote/prism-lua Add support for Lua
Golmote b43c5f3f 2015-10-17T10:35:30 Merge pull request #803 from Golmote/prism-icon Add support for Icon
Golmote 0b4e1d3d 2015-10-17T10:32:59 Add support for Puppet configuration
Golmote c9b40810 2015-10-16T08:50:33 Add support for Roboconf
Golmote 188c75cc 2015-10-16T08:00:22 Merge branch 'gh-pages' into prism-parigp Conflicts: plugins/show-language/prism-show-language.js plugins/show-language/prism-show-language.min.js
Golmote 6803ca03 2015-10-16T07:58:39 Merge pull request #800 from Golmote/prism-asciidoc Add support for AsciiDoc
Golmote e25da0da 2015-10-15T08:55:07 Add support for Haxe
Golmote 2ba763e0 2015-10-13T21:08:49 Add support for Parser
Golmote d5ace6c2 2015-10-11T13:45:28 Add support for Oz
Golmote 1a4ff7ac 2015-10-11T10:38:10 Add support for Lua
Golmote 2d08fa90 2015-10-10T21:32:45 Add support for Icon
Golmote 6679e735 2015-10-10T16:38:02 Add support for PARI/GP
Golmote 68159d5b 2015-10-10T03:57:25 Add support for AsciiDoc
Golmote 198bc99a 2015-10-07T00:28:30 Add support for Nix
Golmote 6babaad4 2015-10-06T07:53:35 Merge pull request #781 from Golmote/prism-batch Prism batch
Andreas Rohner 71bf8e9a 2015-10-01T13:22:42 Add support for Here-Documents for the Bash language This patch adds support for Here-Documents for the Bash language. A Here-Document should be highlighted as a multiline string and looks like this: cat << EOF foo bar EOF
Golmote 93a53c77 2015-09-28T09:19:42 Merge branch 'gh-pages' into prism-batch
Golmote eab5b06e 2015-09-20T16:00:59 Add support for Batch (Fix #398)