|
c4a9ace1
|
2014-12-21T12:34:29
|
|
Run Gulp
|
|
20606ea6
|
2014-12-21T03:30:57
|
|
Merge pull request #407 from Conaclos/gh-pages
Add Eiffel programming language definition.
|
|
11a79455
|
2014-12-20T20:22:03
|
|
Updated minified file
|
|
5330f028
|
2014-12-20T20:17:42
|
|
Merge pull request #415 from Golmote/prism-css
Fixed css-extras additional highlightings
|
|
91bb0bb1
|
2014-12-20T19:37:26
|
|
Run gulp
|
|
5795ef11
|
2014-12-20T19:36:15
|
|
Merge https://github.com/LeaVerou/prism
|
|
3b052132
|
2014-12-20T19:35:18
|
|
JS function can contain $
|
|
22ec5cb2
|
2014-12-20T19:33:43
|
|
Exponent may be signed with +
|
|
86b4d4df
|
2014-12-20T14:21:28
|
|
Run gulp tasks
|
|
20e44b08
|
2014-12-20T14:07:29
|
|
Merge branch 'master' into prism-dart
Conflicts:
components.js
|
|
d2caa5e9
|
2014-12-20T14:05:44
|
|
Merge branch 'master' into prism-rust
Conflicts:
components.js
|
|
67fc5438
|
2014-12-20T14:03:36
|
|
Merge branch 'master' into prism-applescript
Conflicts:
components.js
|
|
24659943
|
2014-12-20T14:02:11
|
|
Merge all keywords in one regexp
|
|
63c67979
|
2014-12-20T13:15:36
|
|
Merge branch 'master' into prism-pascal
Conflicts:
components.js
|
|
77848153
|
2014-12-20T13:12:45
|
|
Minor edits
|
|
028e99fc
|
2014-12-20T13:09:12
|
|
Merge branch 'master' into prism-jade
Conflicts:
components.js
|
|
684c0183
|
2014-12-20T13:05:12
|
|
Merge branch 'master' into prism-haml
Conflicts:
components.js
|
|
61bf0eae
|
2014-12-20T13:04:34
|
|
Fixed broken ternary
|
|
f2d0be11
|
2014-12-20T12:55:15
|
|
Minor edits
|
|
317151b6
|
2014-12-20T12:46:22
|
|
Merge branch 'master' into prism-erlang
Conflicts:
components.js
|
|
f292e225
|
2014-12-20T12:36:03
|
|
Merge branch 'master' into prism-fortran
Conflicts:
components.js
|
|
2224a11e
|
2014-12-20T12:31:58
|
|
Merge branch 'master' into prism-lolcode
Conflicts:
components.js
|
|
08e31573
|
2014-12-20T12:24:37
|
|
Merge branch 'master' into prism-pascal
Conflicts:
components.js
|
|
aba1a72c
|
2014-12-20T12:23:55
|
|
Simplify hex, oct and bin number detection
|
|
4dd16d9b
|
2014-12-20T12:14:56
|
|
Merge branch 'master' into prism-r
Conflicts:
components.js
|
|
72c40031
|
2014-12-14T18:46:15
|
|
Removed useless comment and reformatted Less component
|
|
1aed42eb
|
2014-12-14T18:42:43
|
|
Add Less language
|
|
07067006
|
2014-12-20T11:48:24
|
|
Add Dart language
|
|
fdb1c8d2
|
2014-12-20T05:48:42
|
|
Merge pull request #422 from Golmote/prism-matlab
Add MATLAB language
|
|
dee0e793
|
2014-12-20T11:48:24
|
|
Add Dart language
|
|
df9e5caf
|
2014-12-20T05:47:59
|
|
Merge pull request #421 from Golmote/prism-coffeescript-keywords
Improved CoffeeScript
|
|
6711ff05
|
2014-12-20T10:34:18
|
|
Add R language
|
|
dabc5d05
|
2014-12-20T09:33:00
|
|
Add LOLCODE language
|
|
7dd1a602
|
2014-12-19T23:41:20
|
|
Add Pascal language
|
|
140db6bb
|
2014-12-19T21:13:03
|
|
Add Fortran language
|
|
f22c3911
|
2014-12-19T09:14:54
|
|
Add Erlang language
|
|
0e24ff95
|
2014-12-18T09:06:42
|
|
Fixed typo in swig filter
|
|
c743454a
|
2014-12-18T09:01:24
|
|
Add Haml language
|
|
fac57f13
|
2014-12-17T20:57:34
|
|
Add Jade language
|
|
d16e98e9
|
2014-12-16T23:37:44
|
|
Fix spacing
|
|
1a9f09a3
|
2014-12-16T09:10:06
|
|
Removed useless comment
|
|
1bd4d064
|
2014-12-16T09:03:57
|
|
Add AppleScript language
|
|
cb3f1cbc
|
2014-12-15T23:53:37
|
|
Add Rust language
|
|
1bc55bdd
|
2014-12-14T18:46:15
|
|
Removed useless comment and reformatted Less component
|
|
ea170578
|
2014-12-14T18:42:43
|
|
Add Less language
|
|
d63e397d
|
2014-12-13T00:58:56
|
|
Fixed multiline comments
|
|
e36045f8
|
2014-12-12T21:39:53
|
|
Improved string regexp to not mess with matrix transposition
|
|
65de193f
|
2014-12-12T20:23:27
|
|
Add MATLAB language
|
|
93530f85
|
2014-12-12T08:54:55
|
|
Undo changes in css, just fix css-extras instead
|
|
af315b7c
|
2014-12-11T23:15:18
|
|
Use spaces for alignments
|
|
3599113b
|
2014-12-11T22:35:53
|
|
Coffeescript refiew and improvements
|
|
3aa77a38
|
2014-12-11T20:16:17
|
|
Improved CoffeeScript keywords based on the documentation. Fixes #389
|
|
76090216
|
2014-12-11T20:01:50
|
|
Fix filename of minified Scheme
|
|
0c2a2085
|
2014-12-09T20:53:18
|
|
Added color and number to CSS
|
|
c5044386
|
2014-12-09T08:21:31
|
|
Merge branch 'gh-pages' of https://github.com/LeaVerou/prism
Conflicts:
components.js
|
|
05129ed8
|
2014-12-09T07:54:52
|
|
Fix delimiters highlighting + highlight numbers and booleans
|
|
551f75fc
|
2014-12-08T23:51:39
|
|
Added perl language
|
|
c272a04a
|
2014-12-08T23:04:02
|
|
Added Handlebars language
|
|
5d7913cb
|
2014-12-06T20:14:31
|
|
Add g flag for Eiffel decimals
|
|
50513d1f
|
2014-12-06T19:45:05
|
|
Make simpler decimal number regex
|
|
25a775e8
|
2014-12-05T01:16:35
|
|
Improve number handling for Eiffel.
|
|
cb8a1c38
|
2014-12-04T23:44:54
|
|
Enable juxtaposed digit separators
|
|
5edb31d2
|
2014-12-04T19:54:03
|
|
Add Eiffel programming language definition.
|
|
4b606263
|
2014-09-12T22:05:59
|
|
Add NASM (Netwide Assembler) language definition.
|
|
e2e36855
|
2014-11-15T19:56:20
|
|
Revert invalid move of the language-css alias
One of the language-css aliases, which was moved inwards by the previous
patch was actually in the right place. This patch reverts the change to
correct the newly introduced error of the previous patch.
|
|
3154f9b9
|
2014-11-15T19:09:40
|
|
Move invalid alias declarations, which cause HTML highlighting to fail
The alias declarations in prism-javascript.js and prism-css.js are in
the wrong place and must be moved inside of the pattern object.
Otherwise they get injected into the markup grammar. The execution
fails, because the alias is a string and not a RegExp.
|
|
17d9aa8a
|
2014-11-14T20:30:10
|
|
insertBefore() with only two arguments appends (similar to how DOM insertBefore() behaves)
|
|
23edcc8c
|
2014-11-14T20:10:05
|
|
Added language-xxx aliases in nested language refs to ease styling
|
|
436a7bd6
|
2014-11-14T19:43:50
|
|
Make insertBefore() update pointers to the object from other language definitions.
Use case/Example: In dabblet, code-highlight.js adds some extra tokens to CSS. But CSS also extends markup to highlight CSS in style elements/attributes and that happens *before* the extra CSS tokens were added. However, because references were not updated, CSS highlighted in markup was using the original CSS definition, without the added tokens. I’m surprised we haven’t caught this earlier, I’d expect it to affect many advanced uses of Prism.
|
|
4b9e11c6
|
2014-11-14T19:19:31
|
|
CSS highlighting in HTML style attribute
|
|
ac41a8d2
|
2014-10-27T15:12:59
|
|
Make HTTP response-status case-insensitive
|
|
d5f2653b
|
2014-10-18T23:04:18
|
|
added minified file & removed uncessary objects
|
|
5a6f744f
|
2014-10-18T22:58:13
|
|
whoops added so the 2 in something like log2 won't parse as a number
|
|
9b3218d8
|
2014-10-18T22:15:46
|
|
added single quotes and a punctuation tag for parens
|
|
c60d3876
|
2014-10-18T21:51:06
|
|
added scheme language
|
|
6db22842
|
2014-10-08T10:07:39
|
|
added !makensis command
|
|
6a004cbe
|
2014-09-22T15:03:10
|
|
Merge pull request #360 from zeitgeist87/FixAutolinker
Fix for DFS bug with new pattern array feature
|
|
f2984edb
|
2014-09-11T18:40:27
|
|
Added SQL variable support
|
|
13d69762
|
2014-09-11T03:37:35
|
|
SQL improvements: Added TEMP keyword
|
|
94a8fd1b
|
2014-09-10T04:01:25
|
|
SQL improvements: added function token (perhaps should be `aggregate` and aliased to function), improved operators a bit, converted regex groups to non capturing
|
|
08037e5b
|
2014-09-05T11:01:02
|
|
Fix for DFS bug with new pattern array feature
This patch implements support for the new pattern array feature in the
Prism.languages.DFS function and fixes a bug in the autolinker plugin.
It adds an optional parameter to the callback of Prism.languages.DFS,
which contains the type of the current object as oposed to the key in
the parent. In most cases both key and type are exactly the same. Only
if the parent is an array the key will contain the index number and the
type will contain the attribute name of the array in the parent object.
The key can be used to replace the object in the parent and the type can
be used to provide the necessary context.
|
|
0a37552d
|
2014-08-31T22:30:50
|
|
Update prism-git.js
|
|
e5f83ca8
|
2014-08-31T22:30:10
|
|
Update prism-git.min.js
|
|
a33e35fa
|
2014-08-31T22:04:19
|
|
[Git] Fix `deleted` and `inserted` regexp. See LeaVerou/prism#227.
|
|
14e754fa
|
2014-08-29T17:07:00
|
|
Adjust existing code to a common style
Use Tabs.
|
|
8b71e6e4
|
2014-08-29T15:50:13
|
|
[Git language support] oldline => deleted, newline => inserted + typo
|
|
120c1221
|
2014-08-29T11:06:22
|
|
Added minified apache conf language definition
|
|
c3232e3e
|
2014-08-29T11:06:10
|
|
Renamed apacheconf back to the name without dashes
Sorry for the confusion.
|
|
0ea9172c
|
2014-08-24T15:18:26
|
|
Added support for Apache configuration syntax
Supports:
-All official directives, both block and inline, up to Apache 2.4
-Block directives parameters separated by colon (":")
-Comments
-Strings
-Environment variables (eg. ${HOME})
|
|
3309890f
|
2014-08-12T13:48:47
|
|
Add option to define aliases for tokens
This patch adds an option called `alias`, which allows the
definition of additional CSS classes for token names. This can be
useful, to combine the styling of a well known token, which is already
supported by most of the themes, with a semantically correct token name.
The option can be set to a string literal or an array of string
literals. In the following example the token name `latex-equation` is
not supported by any theme, but it will be highlighted the same as a
string.
'latex-equation': {
pattern: /\$(\\?.)*?\$/g,
alias: 'string'
}
|
|
b1cc49d8
|
2014-08-23T20:02:02
|
|
Update minified and auto generated files
|
|
ec2540af
|
2014-08-23T16:37:01
|
|
Fixed 'before-insert' hook
Fixed 'before-insert' hook: now checks if language is PHP before assigning env.code to env.backupCode.
Only "language-php" defines env.backupCode: without this condition, env.Code would be undefined for any other language than PHP after this hook is called. It would then lead to wrong behaviours (eg. Line Numbers plugin would not show lines).
|
|
ba3bcd23
|
2014-08-20T14:42:08
|
|
Fixed missed encode call for webworkers
|
|
312e989c
|
2014-08-19T12:01:00
|
|
Fix line-numbers for PHP in markup
The problem is, that inline php code can be anywhere inside of a HTML
element. To properly highlight this the php language implementation
temporarily replaces all inline php code in `env.code` with something
like `{{PHP0}}`. After the markup highlighting is finished it replaces
it again with the real code, but it leaves `env.code` corrupted.
Since the line-numbers plugin uses `env.code` to count the number of
lines, the result will be broken.
So to fix this, it must be ensured, that `env.code` is restored before
the line-numbers plugin uses it.
|
|
e29996a4
|
2014-08-18T04:03:33
|
|
Merge pull request #312 from aviaryan/c-autohotkey
updated autohotkey for #307
|
|
f88c71ab
|
2014-08-15T17:34:36
|
|
Merge pull request #281 from natecook1000/gh-pages
Comprehensive Swift syntax highlighting
|
|
3cd1cb38
|
2014-08-15T16:30:50
|
|
Update Swift syntax for beta 5
|
|
76808147
|
2014-08-15T11:22:54
|
|
fix conflict in prism-swift.min.js
|
|
5acdc618
|
2014-08-15T11:22:29
|
|
Merge remote-tracking branch 'upstream/gh-pages' into gh-pages
|
|
e1a659d3
|
2014-08-13T16:46:45
|
|
Merge pull request #295 from bholst/gh-pages
Add language definition for Haskell
|