|
84d21b19
|
2014-07-22T17:24:28
|
|
Further improvements of the coy themes
* Shadows are now visible again!
* Small code cleanup (removed now unnecessary outer `max-height`)
|
|
b42f3b0b
|
2014-07-22T15:25:27
|
|
Fix hidden line numbers
The issue is that the `<code>` element needs the `overflow: scroll` (since the code block has a `max-height`). So the line numbers container, which is positioned absolutely using a negative left position is hidden.
This is fixed by changing the way the `<code>` element is positioned: not with a margin and a small size, but with the padding & a larger container.
|
|
0fec5532
|
2014-07-20T09:32:36
|
|
Merge pull request #297 from uranusjr/objc-291
Update Objective-C rules based on #291
|
|
c960493e
|
2014-07-20T11:25:41
|
|
Update Objective-C rules based on #291
|
|
970338c2
|
2014-07-13T11:31:53
|
|
Merge pull request #294 from aviaryan/c-ini
ini now also highlights value
|
|
8beaa6fb
|
2014-07-13T13:26:00
|
|
fixed another bug with ini highlight
|
|
70677495
|
2014-07-13T12:51:06
|
|
ini now also highlights value
|
|
73855ea2
|
2014-07-12T12:41:40
|
|
Merge pull request #292 from aviaryan/c-autohotkey
updated autohotkey minified file
|
|
513a53af
|
2014-07-12T13:08:37
|
|
updated autohotkey minified file
|
|
5b4b9682
|
2014-07-11T16:51:51
|
|
Merge pull request #291 from zeitgeist87/gh-pages
Fix for some serious bugs in C and C++ highlighter
|
|
550c81e7
|
2014-07-11T21:21:27
|
|
Fix for some serious bugs in C and C++ highlighter
< and > don't seem to work as they used to. So this patch replaces
them with the corresponding < or > sign like it was done in the clike
base language.
The pattern for macro statements was seriously flawed. It didn't allow
for macros with no argument like #else or #endif. This patch fixes the
problem and additionally adds support for multiline macros, which are
fairly common.
#define FOO(a, b, c) \
do { \
do_stuff_here \
do_more_stuff \
} while (0)
Furthermore the path of the #include macro is highlighted as a string.
#include <stdio.h>
#include "config.h"
C also allows for multiline strings in a similar way as multiline
macros.
"This is a \
multiline \
string"
|
|
a1047294
|
2014-07-11T12:40:46
|
|
Merge pull request #290 from aviaryan/c-autohotkey
updated autohotkey.js
|
|
5b3f31da
|
2014-07-11T12:30:40
|
|
Merge pull request #289 from aviaryan/c-ini
fixed some bugs in INI highlighting
|
|
41396d8d
|
2014-07-11T18:23:48
|
|
fixed some keywords
|
|
058f8e9d
|
2014-07-11T17:59:45
|
|
rearranged some keywords
|
|
a8c9775b
|
2014-07-11T15:55:23
|
|
enhanced autohotkey js
|
|
d5dd3be2
|
2014-07-11T12:00:49
|
|
updated ini minified file
|
|
d4f03482
|
2014-07-11T11:47:07
|
|
fixed bugs with ini highlight
|
|
af7a42a4
|
2014-07-10T19:25:02
|
|
Updated minified versions
|
|
51531e06
|
2014-07-10T10:24:42
|
|
Merge pull request #288 from aviaryan/gh-pages
Added AutoHotkey and Ini highlighting, resolved #287
|
|
bb997900
|
2014-07-10T17:15:14
|
|
alphabetically arranged keywords
|
|
d648f371
|
2014-07-10T13:51:29
|
|
added Ini highlighting
|
|
a156e893
|
2014-07-09T15:08:02
|
|
added separate highlighting token for 'function' in prism.css, closes #287
|
|
37c2c180
|
2014-07-09T15:04:15
|
|
added AutoHotkey highlighting
|
|
cbe9b042
|
2014-07-03T16:13:36
|
|
Merge pull request #285 from TheCrambler/gh-pages
Added Prism.js Tutorial Link
|
|
a530a1b7
|
2014-07-03T13:32:44
|
|
Added Prism.js Tutorail Link
Added an extra link to a tutorial I wrote on how to implement Prism.js into a WordPress site.
|
|
2182709d
|
2014-06-30T08:46:36
|
|
Merge pull request #284 from MathieuAlphamosa/patch-1
SQL : Multi lines strings
|
|
069fa6d8
|
2014-06-30T11:17:22
|
|
Update prism-sql.js
Faster and more reliable http://jsperf.com/javascript-multiline-regexp-workarounds
|
|
42ab9b44
|
2014-06-27T11:11:22
|
|
SQL : Multi lines strings
'string' regex modified to accept line breaks as SQL strings can use them.
|
|
4c2eddc3
|
2014-06-25T16:13:26
|
|
Merge pull request #282 from uranusjr/objc
Add Objective-C Syntax
|
|
e6ff300c
|
2014-06-26T04:04:42
|
|
Use tabs for indentation
|
|
62687ecc
|
2014-06-26T03:59:26
|
|
objc -> objectivec
|
|
ecb20c18
|
2014-06-25T22:06:06
|
|
Add objc to components
|
|
c76f777d
|
2014-06-25T21:35:03
|
|
Add Objective-C syntax
|
|
a13db04a
|
2014-06-17T08:55:00
|
|
Merge pull request #277 from apfelbox/gh-pages
Made components.js re-usable
|
|
527c0f98
|
2014-06-17T14:25:27
|
|
components.js update
* made `components.js` use a JSON-compatible structure
* remove the exclusion through bower
|
|
55724eb9
|
2014-06-04T19:22:45
|
|
Merge pull request #272 from ChrisChares/gh-pages
Added Swift Language
|
|
e2c11520
|
2014-06-04T17:18:43
|
|
added newline to end of prism-swift.js
|
|
efc1d2bc
|
2014-06-04T17:13:37
|
|
added swift language
|
|
84522d86
|
2014-06-03T07:23:01
|
|
Merge pull request #265 from rip-lang/rip
Grammar for new language, Rip
|
|
9d5a0969
|
2014-05-12T11:35:31
|
|
Recognize punctuation and reference
|
|
5d1cf199
|
2014-05-10T20:16:58
|
|
Recognize character
|
|
ee4b3838
|
2014-05-10T19:53:21
|
|
Recognize keywords
|
|
568728d9
|
2014-05-10T19:35:07
|
|
Recognize regex, symbol, string (crudely)
|
|
444c60f9
|
2014-05-10T19:32:08
|
|
Recognize boolean, date, time, datetime, number
|
|
dc45d573
|
2014-05-10T13:40:57
|
|
Simple start for Rip
Recognize comment, builtin, boolean
|
|
584911ca
|
2014-06-02T10:24:59
|
|
Merge pull request #271 from apfelbox/javascript-keywords
Updated keywords in JavaScript definition
|
|
d27b693f
|
2014-06-01T17:18:03
|
|
Updated keywords in JavaScript definition
* Sort keywords alphabetically (to ease maintenance)
* Added all missing keywords
* Added ECMAScript 5 keywords
* Added true/false/null as explicit keywords
Source: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Reserved_Words
Fixes #270
|
|
2323537a
|
2014-05-25T10:45:33
|
|
Merge pull request #266 from arnehormann/patch-1
replace entities with their literals
|
|
86fe1c88
|
2014-05-25T10:45:11
|
|
Merge pull request #267 from nauzilus/grammar-update
Remove escaped entities from pattern match.
|
|
0d07db63
|
2014-05-25T10:44:23
|
|
Merge pull request #268 from sherblot/java
Remove escaped entities from Java
|
|
d478d6aa
|
2014-05-25T09:20:51
|
|
Remove escaped entities from Java
|
|
b348fc62
|
2014-05-25T07:57:38
|
|
Remove escaped entities from pattern match.
|
|
a2acb949
|
2014-05-25T01:52:02
|
|
replace entities with their literals
|
|
4a472307
|
2014-05-24T16:14:20
|
|
Minified files
|
|
9ff5de1e
|
2014-05-24T16:13:33
|
|
Merge pull request #264 from robfletcher/gh-pages
#258 removed HTML entities from Groovy grammar
|
|
308354da
|
2014-05-24T16:13:17
|
|
Merge pull request #263 from rip-lang/gh-pages
Simplify encoding logic
|
|
a7efae77
|
2014-05-24T21:03:41
|
|
#258 removed HTML entities from Groovy grammar
|
|
cddff711
|
2014-05-24T15:59:23
|
|
Simplify encoding logic
|
|
34365bfc
|
2014-05-24T15:57:07
|
|
Minified files
|
|
3ea7a8c4
|
2014-05-24T15:56:42
|
|
Merge pull request #262 from milesj/css-fixes
CSS function fixes
|
|
7b20bc1a
|
2014-05-24T12:55:05
|
|
Use lookahead for function matching
|
|
bae1210e
|
2014-05-24T12:33:50
|
|
Move function to base CSS [#237]
|
|
ee2c024e
|
2014-05-24T12:28:39
|
|
Make function matching a pattern [#239]
|
|
603a8a02
|
2014-05-24T15:26:54
|
|
Added twitter link to footer, minified some files
|
|
971c7b13
|
2014-05-24T15:23:07
|
|
Merge pull request #261 from milesj/php-fixes
Removed HTML entities
|
|
e437402f
|
2014-05-24T12:12:28
|
|
Remove entities [#258]
|
|
73313472
|
2014-05-24T14:31:35
|
|
Merge branch 'gh-pages' of https://github.com/LeaVerou/prism into gh-pages
|
|
b590706a
|
2014-05-24T14:26:44
|
|
Merge pull request #260 from rip-lang/gh-pages
Remove leftover `console.log`
|
|
d44312b6
|
2014-05-24T14:25:49
|
|
Converted the CSS, SCSS and JS grammars according to #258
|
|
8557daa9
|
2014-05-24T14:23:52
|
|
Remove leftover `console.log`
|
|
eb65c68b
|
2014-05-24T14:13:36
|
|
Generated minified versions & prism.js after merging #258
|
|
19263423
|
2014-05-24T14:05:24
|
|
Merge pull request #258 from rip-lang/escapism
Fix premature HTML encoding
|
|
ad7513cb
|
2014-05-24T13:06:57
|
|
Attempt to fix clike and markup grammars
Original authors should at least verify these changes are correct
|
|
c0a0353d
|
2014-05-23T13:40:52
|
|
Stop prematurely escaping code block
Refactor Prism.highlight to HTML encode tokens before calling
Token.stringify.
This is a breaking change for nearly all grammars! Previously Prism was
encoding HTML entities *before* passing the code block to the parser.
Now it encodes HTML entities *after* the tokens have been parsed (before
rendering to HTML).
|
|
9f6cff9b
|
2014-05-23T13:01:26
|
|
Whitespace cleanup
|
|
97a87448
|
2014-05-22T17:38:54
|
|
Fixed #247
|
|
62561684
|
2014-05-22T17:36:51
|
|
Reversed change in Core
|
|
3084f7cd
|
2014-05-22T17:33:53
|
|
Merge branch 'gh-pages' of https://github.com/LeaVerou/prism into gh-pages
|
|
0bf2a8e5
|
2014-05-22T17:28:57
|
|
Updated minified files
|
|
da7ee951
|
2014-05-18T06:30:24
|
|
Merge pull request #256 from jozic/add-scala
add Scala support to prism
|
|
8115e640
|
2014-05-17T21:32:55
|
|
add Scala support to prism
|
|
c1aa3354
|
2014-04-28T12:14:41
|
|
Merge pull request #216 from nauzilus/plugin-show-langauge
Plugin to show highlighted language, per Issue #1
|
|
465ee8f6
|
2014-04-28T11:50:15
|
|
Merge pull request #242 from nauzilus/fix-testdrive-highlighting
Highlight after language downloaded
|
|
005a09de
|
2014-04-25T15:47:03
|
|
Merge pull request #245 from themightychris/patch-1
support for PHP's #-style comments
|
|
48cbb067
|
2014-04-25T11:54:39
|
|
support for PHP's #-style comments
although it fails to detect when a # is within a string, just like it does for // though when // isn't preceded by a :
but such are the limits of parsing code with regexp :(
|
|
d60f9804
|
2014-04-23T08:45:14
|
|
Merge pull request #243 from nauzilus/gh-pages
Update minified file for File Highlight plugin
|
|
77de180c
|
2014-04-23T19:29:58
|
|
Update minified file for File Highlight plugin
|
|
318c2b5b
|
2014-04-22T22:00:44
|
|
Merge pull request #211 from nauzilus/gh-pages
Support for ASP.NET syntax
|
|
c3ffc8be
|
2014-04-23T08:46:48
|
|
Consistent indenting.
|
|
2b8e9f2f
|
2014-04-23T08:32:47
|
|
If loading a new language, don't attempt highlight until it's actually downloaded.
|
|
d160f3c1
|
2014-04-22T22:14:13
|
|
Merge branch 'gh-pages' of https://github.com/LeaVerou/prism into gh-pages
|
|
8cb5bcb6
|
2014-04-22T06:31:19
|
|
Merge pull request #241 from adam-lynch/bump-version
Preparation for publishing on npm
|
|
5ff5f823
|
2014-04-22T11:29:37
|
|
Package name is now prismjs
Also JetBrains files are no longer ignored
|
|
79a7d9a7
|
2014-04-22T16:03:31
|
|
Include owner in components.js, also minified CSS/JS.
|
|
50fd6ce4
|
2014-04-22T03:20:54
|
|
Merge pull request #220 from nauzilus/redownload
Redownload URL
|
|
af26cb1f
|
2014-04-22T15:08:48
|
|
Change delimiter
Use + as a delimiter rather than | as requested.
|
|
d1e2aed3
|
2014-04-21T14:46:07
|
|
Added .npmignore
|
|
03baaf7e
|
2014-04-21T13:31:18
|
|
Rename of node module
prism is taken
|
|
3536d763
|
2014-04-21T13:30:50
|
|
Bump up version number
|