plugins


Log

Author Commit Date CI Message
Andreas Rohner 3780571b 2016-07-03T11:59:59 Remove IE8 plugin
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 be6219a8 2016-06-27T01:21:50 Merge pull request #980 from Golmote/prism-properties Add support for .properties files
Golmote 9cfc8cb2 2016-06-18T19:39:36 Add support for LiveScript
Golmote b4f34239 2016-06-18T15:01:08 Add a couple more details on how to use the Autoloader plugin
Golmote 2607dcd9 2016-06-18T14:46:44 Add support for .properties files
Golmote bfb559bf 2016-06-11T01:17:24 Add support for GraphQL
Andreas Rohner 9385c54f 2016-06-05T07:14:20 Add class that disables the normalize whitespace plugin
Scott McKee e6c34988 2016-05-12T14:13:30 Fixed monospace typo The original value was "monoscpace," and I changed it to "monospace."
Andreas Rohner 21dd0d14 2016-02-15T23:08:24 Use a HTML-comment to escape code
Andreas Rohner 9cbf9d77 2016-04-30T12:04:06 Update auto-generated values in the autoloader plugin The auotloader plugin contains a variable that is auto-generated by gulp. This variable was updated by the addition of the new language protobuf.
Andreas Rohner f081b905 2016-04-29T16:39:46 Rename proto language into protobuf and add it to components.js
Dave Wasmer cd234dcd 2016-03-08T19:26:52 update linear-gradient syntax from `left` to `to right`
Andreas Rohner 8cf72b33 2016-02-26T10:20:41 Remove the force-to-the-top hack for normalize-whitespace
Andreas Rohner 54400fba 2016-02-17T15:26:01 Add property 'aliasTitles' to components.js This is necessary, because a language that has a lot of aliases like markup (HTML, SVG, XML, MathML), is only added to the languageMap once as "Markup". So any plugin that depends on the languageMap is limited by that. This patch allows the definition of additional titles for languages, depending on the alias that is used.
Lea Verou e29cbe1c 2016-02-15T15:47:48 [unescaped markup] Fix small issues @zeitgeist87 pointed out
Lea Verou ad30c323 2016-02-14T21:25:57 [unescaped markup] Fixed bug with escaped </script>
Lea Verou 07d77e53 2016-02-14T21:08:34 Added unescaped markup plugin (hidden)
Andreas Rohner 99c30e4e 2016-02-12T11:03:08 Add missing prism.js to the documentation of normalize-whitespace
Andreas Rohner f1c71994 2016-02-12T10:53:38 Cleanup normalize-whitespace and improve keep-markup integration This patch removes the misleading references to the parse-settings plugin from the normalize-whitespace documentation and adds a description for all supported operations. The keep-markup plugin sets the property Prism.plugins.KeepMarkup to allow the normalize-whitespace plugin to optimize its operation. Furthermore, the normalize-whitespace plugin makes sure, that it is the first plugin to run on a particular code block.
Andreas Rohner 6880b3c1 2016-02-10T11:08:44 Preserve Markup in Normalize-Whitespace plugin Since the Normalize-Whitespace plugin is only concerned with whitespace, it is easy to preserve the markup for other plugins like keep-markup.
Andreas Rohner eb68eb83 2016-02-07T18:53:04 Update CHANGELOG and run gulp
Lea Verou 8f79f3b3 2016-02-06T16:36:30 Merge pull request #880 from montogeek/gh-pages Fix Keep Markup plugin incorrect highlighting
Fernando Montoya 24841ef3 2016-02-06T16:21:04 Removed firstWhiteSpaces code
Lea Verou ef533229 2016-02-06T15:06:29 Merge pull request #847 from zeitgeist87/WhitespaceNormalizer Whitespace normalizer plugin
Andreas Rohner 38b7b3b6 2016-02-06T15:49:01 Add support for automatic line breaks This patch adds support for automatic line breaks after a specific number of characters. The default is 80 characters, but it can be set to any number.
Fernando Montoya 704ba4f9 2016-02-06T00:02:15 Fix Keep Markup plugin incorrect highlighting
Andreas Rohner 05442d3e 2016-02-01T14:16:13 Add support for the space character for the show-invisibles plugin This patch adds a bit of position magic, so that the invisibles are displayed on top of the original character. This allows for the inclusion of the space character.
mAAdhaTTah c3cfb1fb 2016-01-30T14:46:38 Ensure show-invisibles compat with autoloader When using the autoloader, the language isn't loaded at the time the show-invisibles plugin attaches its extra tokens. This defers attaching the extra tokens to just before highlighting, so we ensure we're able to attach to the language grammar.
Lea Verou b184c269 2016-01-22T17:38:38 Merge pull request #830 from malcomio/sasslink link scss to webplatform wiki - fixes #829
Andreas Rohner e86ec01f 2016-01-07T10:39:37 Add whitespace-normalizer plugin This plugin normalizes whitespace in code blocks. It can perform various operations. The user can configure them through the plugin object located at Prism.plugins.NormalizeWhitespace. Prism.plugins.NormalizeWhitespace.setDefaults({ 'remove-trailing': true, 'remove-indent': true, 'left-trim': true, 'right-trim': true, /*'indent': 2, 'remove-initial-line-feed': false, 'tabs-to-spaces': 4, 'spaces-to-tabs': 4*/ }); The plugin can be disabled for certain code blocks, by adding the class "no-whitespace-normalization" to it. There is also a HTML-interface using the parse-settings plugin.
Lea Verou dfa52631 2016-01-02T14:33:53 Merge pull request #845 from chriswells0/command-line Remove the need for an "output" class.
Andreas Rohner 3656a085 2015-12-30T13:28:00 Remove unnecessary check for the existence of the addEventListener method All target browsers for Prism support this method now. The check is therefore obsolete.
Chris Wells 298dca59 2015-12-29T19:36:08 Remove the need for an "output" class.
Andreas Rohner a912063c 2015-12-30T00:56:38 Update auto-generated files and minified versions
Andreas Rohner bfd6b99e 2015-12-30T00:30:37 Merge pull request #831 from chriswells0/prism-shell Add support for Command Line highlighting
Andreas Rohner 9d6343a3 2015-12-30T00:16:24 Merge pull request #844 from chriswells0/file-highlight Defer File Highlight until the full DOM has loaded.
Chris Wells 6f995ef2 2015-12-29T17:44:06 Defer File Highlight until the full DOM has loaded.
Andreas Rohner d9b351f0 2015-12-27T11:03:43 Use the file-highlight plugin to load the example for the data-language attribute on the demo page of the show-language plugin. There is no need to include a whole copy of logo.svg on the example page.
Andreas Rohner 97d0f49a 2015-12-26T09:50:23 Update auto-generated files
Chris Wells 7e74aef4 2015-12-12T21:08:15 Allow custom label without a language mapping.
Daniel Flint eb9a83c2 2015-12-17T21:02:26 The data-language attribute is no longer of any use, so remove it from the code. It was only applicable when using CSS pseudo elements to show the language name, which is no longer the case.
Chris Wells 83789062 2015-11-29T20:27:14 Add Command Line plugin.
Chris Wells 544b56f0 2015-12-12T20:21:52 Fix incorrect page title.
Malcolm Young 08d979a0 2015-11-27T09:11:05 link scss to webplatform wiki - fixes #829
Golmote e8a31a50 2015-10-26T08:16:29 Merge pull request #814 from Golmote/prism-kotlin Add support for Kotlin
Golmote d7faf2cb 2015-10-26T08:15:40 Run gulp
Golmote eb7aa969 2015-10-22T07:12:42 Add support for Kotlin
Golmote c02b11f6 2015-10-21T06:35:40 Run gulp
Golmote 77c0b061 2015-10-21T06:32:15 Merge branch 'gh-pages' into prism-parser Conflicts: components.js
Golmote 804ed779 2015-10-16T08:00:50 Run gulp
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 9652d752 2015-10-13T21:39:58 Add some missing checks to prevent errors in IE8. Fix #9
Golmote 2ba763e0 2015-10-13T21:08:49 Add support for Parser
Golmote b938d2ce 2015-10-10T16:45:02 Merge branch 'gh-pages' into prism-previewer-angle Conflicts: components.js
Golmote 88173de6 2015-10-10T16:42:49 Merge pull request #790 from Golmote/prism-previewer-time Plugin: time previewer
Golmote 6679e735 2015-10-10T16:38:02 Add support for PARI/GP
Golmote 68159d5b 2015-10-10T03:57:25 Add support for AsciiDoc
Golmote 9a63483e 2015-10-07T00:38:04 Merge pull request #783 from Golmote/prism-previewer-gradient Plugin: gradient previewer
Golmote 2fcc7d05 2015-10-05T09:14:05 Plugin: angle previewer
Golmote 7c7ab4ef 2015-10-05T08:55:17 Plugin: easing previewer: Add variable examples + add support for Sass variables
Golmote 3a1fb04a 2015-10-05T08:50:48 Plugin: color previewer: Add support for Sass variables
Golmote 1d61959b 2015-10-05T08:47:54 Plugin: gradient previewer: Add variable examples + add support for Sass variables
Golmote 752650e0 2015-10-03T09:13:04 Plugin: time previewer
Golmote 6d94e037 2015-10-04T21:29:28 Run gulp
Chaos Shen 6268dc04 2015-10-02T23:14:44 Add check for extsting divs, making it reentrant.
Golmote d37d6b86 2015-10-01T09:01:50 Previewer: gradient: Fix stylus var declaration + insert before Color Previewer if it exists
Chaos Shen 3a346e5e 2015-09-30T17:31:15 Fix the problem of language label scrolling out of view with code by moving the label to a previous sibling of 'pre'.
Golmote 1ebac75a 2015-09-30T08:54:44 Plugin: gradient previewer
Golmote 4303c940 2015-09-29T07:51:35 Plugin Previewer: Easing: Fix markers url due to base href in plugin page
Golmote 513137c7 2015-09-27T11:06:06 Merge pull request #773 from Golmote/previewer-easing Plugin: easing previewer
Golmote 89c5f34c 2015-09-27T11:04:37 Run gulp task
Golmote 69ea994e 2015-09-24T09:03:36 Add support for vim. Closes #777
Golmote e62c88ed 2015-09-23T08:41:41 Add nginx to components, fixed basic highlighting, add a few tests
Golmote eadc18c1 2015-09-22T23:26:28 Run gulp task
Golmote 211a41ce 2015-09-22T20:04:36 Merge pull request #771 from Golmote/prism-autoit Add support for AutoIt. Fix #453
Golmote 391b4406 2015-09-22T20:03:02 Merge branch 'gh-pages' into prism-keep-markup Conflicts: components.js
Golmote b9a48c04 2015-09-22T20:00:15 Merge branch 'gh-pages' into prism-autoload Conflicts: components.js
Golmote 074947e6 2015-09-21T09:04:03 Plugin: easing previewer
Golmote 3f386732 2015-09-17T08:56:50 Add support for AutoIt. Fix #453
Golmote aec312b1 2015-09-16T22:14:22 Merge branch 'gh-pages' into prism-keep-markup Conflicts: components.js
Golmote 6f69da62 2015-09-16T22:08:29 Keep Markup Plugin. Fix #495, fix #579
Golmote 112e0e8f 2015-09-14T08:16:48 Previewer color plugin: Fix Scss code
Golmote a6f117d0 2015-09-14T08:14:31 Previewer color plugin: Wait for before-highlight hook to insert tokens into grammar
Golmote 29760d77 2015-09-14T07:58:28 Add pages for previewer base and previewer color plugins
Golmote c75826aa 2015-09-12T11:59:27 Plugin: color previewer + base for more previewers
Golmote 804b9da0 2015-09-11T07:48:58 Run gulp + removed uneeded array in components
Golmote 0064ec86 2015-09-11T07:40:00 Autoloader Plugin: small fixes + code style
Golmote 42094eee 2015-09-10T09:09:03 Autoloader Plugin
Golmote 9c1bdfef 2015-09-09T07:59:47 OCaml: Add comment explaining operators + run gulp
Golmote a5724950 2015-09-07T19:15:18 Autolinker: Don't process all grammars on load, process each one in before-highlight. Should fix #760
Golmote 774da160 2015-09-07T08:55:31 Basic: Optimized operators + try to separate functions from keywords
Golmote 7326865b 2015-09-07T07:58:17 MEL: Fix flags + optimized operators
Golmote 29a1016e 2015-09-06T19:46:53 Inform 7: Fixed titles, verbs and text substitutions. Renamed variable to type with alias
Golmote 90735046 2015-09-06T19:02:52 GLSL: Fix comments
Golmote c4516114 2015-09-05T09:48:50 Elixir is capitalized (2) + fixed example
Golmote 801769cc 2015-09-05T09:42:40 Elixir: Merged heredoc with strings, fixed capture, optimized operators and keywords.
Golmote 1f45942c 2015-09-04T08:58:16 Add support for APL. Closes #308
Golmote b2f14d96 2015-09-04T08:19:21 Merge branch 'plugin-jsonp' of https://github.com/nauzilus/prism into gh-pages Conflicts: components/prism-core.min.js