|
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
|
|
eba02358
|
2018-03-04T16:24:32
|
|
Docs: Add note on `async` parameter to clarify the requirement of using a single bundled file. Closes #1249
|
|
a9e76db6
|
2018-03-04T15:59:05
|
|
Docs: Mention support for `lang-xxxx` class. Close #1312
|
|
a84263fa
|
2018-03-04T15:50:15
|
|
Docs: Fix link to the <code> element specification in HTML5
|
|
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
|
|
109bd6f8
|
2018-03-04T13:42:41
|
|
Autolinker Plugin: Allow more chars in query string and hash to match more URLs. Fix #1142
|
|
c246c1a6
|
2018-03-04T12:32:19
|
|
Unescaped Markup Plugin: Use msMatchesSelector for IE11 and below. Fix #1302
|
|
020f88b0
|
2018-03-03T19:33:28
|
|
Update CHANGELOG (#1328)
|
|
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
|
|
5e9c5754
|
2018-03-03T21:30:42
|
|
PHP: Update example with string interpolation
|
|
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.
|
|
bdbdb7d8
|
2018-03-02T08:58:55
|
|
PHP: Update known failures
|
|
b03c02a9
|
2018-03-02T08:39:24
|
|
Download page: Use hash instead of query-string for redownload URL. Fix #1263
|
|
c07ca33c
|
2018-03-02T08:09:49
|
|
Fix code style in components.js
|
|
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
|
|
8c3fa000
|
2018-03-01T23:51:10
|
|
Make listing of classes more uniform in aliased components' examples
|
|
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
|
|
fce583b2
|
2018-03-01T13:05:13
|
|
Merge pull request #1314 from mAAdhaTTah/feature/bump-clipboard-version
Bump ClipboardJS to 2.0.0 and remove hack
|
|
7035d4ef
|
2018-03-01T10:53:41
|
|
Merge pull request #1315 from arxeiss/gh-pages
Fix rehighlighting
|
|
929cc8c0
|
2018-03-01T16:50:57
|
|
Add also minified version
|
|
ebe24b2e
|
2018-03-01T16:39:00
|
|
Fix rehighlighting
|
|
e9f410ea
|
2018-03-01T10:15:27
|
|
Bump ClipboardJS to 2.0.0 and remove hack
This is no longer needed, since it no longer conflicts w/ the
built-in global.
|
|
3dddac91
|
2018-03-01T08:51:45
|
|
Autoloader: Fix demo page
|
|
5773ce40
|
2018-02-28T00:37:17
|
|
Ruby: Update known failures (#1309)
|
|
6d85a47a
|
2018-02-22T21:46:12
|
|
Merge pull request #1305 from arxeiss/gh-pages
Prevent scrolling toolbar with content
|
|
84eeb895
|
2018-02-23T00:12:17
|
|
Prevent scrolling toolbar with content
If content is wider than screen, during scrolling toolbar is not moving anymore.
|
|
7a9dbe05
|
2018-02-12T23:43:12
|
|
WebPlatform Docs plugin: Fix links. Fixes #1290
|
|
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
|
|
11f55176
|
2018-02-05T08:52:55
|
|
Release 1.11.0
|
|
5ebc4a0b
|
2018-02-05T08:44:55
|
|
Removed logo US WDS from "Used by section" on homepage. Fix #1281
|
|
e84ab106
|
2018-02-05T08:39:29
|
|
Run gulp
|
|
6bb6ee6a
|
2018-02-05T08:38:59
|
|
Fix alphabetical order in components
|
|
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)
|
|
a7665cb2
|
2018-01-31T22:53:29
|
|
Fix indentation in components.js
|
|
38df653e
|
2018-01-31T22:39:30
|
|
Fix passing of non-enumerable Error properties from the child test runner (#1276)
|
|
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
|
|
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
|