OLD | NEW |
(Empty) | |
| 1 # Prism Changelog |
| 2 |
| 3 ## 1.2.0 (2015-10-07) |
| 4 |
| 5 ### New components |
| 6 |
| 7 * __Batch__ ([#781](https://github.com/PrismJS/prism/issues/781)) [[`eab5b06`](h
ttps://github.com/PrismJS/prism/commit/eab5b06)] |
| 8 |
| 9 ### Updated components |
| 10 |
| 11 * __ASP.NET__: |
| 12 * Simplified pattern for `<script>` [[`29643f4`](https://github.com/Pris
mJS/prism/issues/29643f4)] |
| 13 * __Bash__: |
| 14 * Fix regression in strings ([#792](https://github.com/PrismJS/prism/iss
ues/792)) [[`bd275c2`](https://github.com/PrismJS/prism/commit/bd275c2)] |
| 15 * Substantially reduce wrongly highlighted stuff ([#793](https://github.
com/PrismJS/prism/issues/793)) [[`ac6fe2e`](https://github.com/PrismJS/prism/com
mit/ac6fe2e)] |
| 16 * __CSS__: |
| 17 * Simplified pattern for `<style>` [[`29643f4`](https://github.com/Prism
JS/prism/issues/29643f4)] |
| 18 * __JavaScript__: |
| 19 * Simplified pattern for `<script>` [[`29643f4`](https://github.com/Pris
mJS/prism/issues/29643f4)] |
| 20 |
| 21 ### New plugins |
| 22 |
| 23 * __Previewer: Gradient__ ([#783](https://github.com/PrismJS/prism/issues/783))
[[`9a63483`](https://github.com/PrismJS/prism/commit/9a63483)] |
| 24 |
| 25 ### Updated plugins |
| 26 |
| 27 * __Previewer: Color__ |
| 28 * Add support for Sass variables [[`3a1fb04`](https://github.com/PrismJS
/prism/commit/3a1fb04)] |
| 29 |
| 30 * __Previewer: Easing__ |
| 31 * Add support for Sass variables [[`7c7ab4e`](https://github.com/PrismJS
/prism/commit/7c7ab4e)] |
| 32 |
| 33 ### Other changes |
| 34 |
| 35 * Test runner: Allow to run tests for only some languages [[`5ade8a5`](https://g
ithub.com/PrismJS/prism/issues/5ade8a5)] |
| 36 * Download page: Fixed wrong components order raising error in generated file ([
#797](https://github.com/PrismJS/prism/issues/787)) [[`7a6aed8`](https://github.
com/PrismJS/prism/commit/7a6aed8)] |
| 37 |
| 38 ## 1.1.0 (2015-10-04) |
| 39 |
| 40 ### New components |
| 41 |
| 42 * __ABAP__ ([#636](https://github.com/PrismJS/prism/issues/636)) [[`75b0328`](ht
tps://github.com/PrismJS/prism/commit/75b0328), [`0749129`](https://github.com/P
rismJS/prism/commit/0749129)] |
| 43 * __APL__ ([#308](https://github.com/PrismJS/prism/issues/308)) [[`1f45942`](htt
ps://github.com/PrismJS/prism/commit/1f45942), [`33a295f`](https://github.com/Pr
ismJS/prism/commit/33a295f)] |
| 44 * __AutoIt__ ([#771](https://github.com/PrismJS/prism/issues/771)) [[`211a41c`](
https://github.com/PrismJS/prism/commit/211a41c)] |
| 45 * __BASIC__ ([#620](https://github.com/PrismJS/prism/issues/620)) [[`805a0ce`](h
ttps://github.com/PrismJS/prism/commit/805a0ce)] |
| 46 * __Bison__ ([#764](https://github.com/PrismJS/prism/issues/764)) [[`7feb135`](h
ttps://github.com/PrismJS/prism/commit/7feb135)] |
| 47 * __Crystal__ ([#780](https://github.com/PrismJS/prism/issues/780)) [[`5b473de`]
(https://github.com/PrismJS/prism/commit/5b473de), [`414848d`](https://github.co
m/PrismJS/prism/commit/414848d)] |
| 48 * __D__ ([#613](https://github.com/PrismJS/prism/issues/613)) [[`b5e741c`](https
://github.com/PrismJS/prism/commit/b5e741c)] |
| 49 * __Diff__ ([#450](https://github.com/PrismJS/prism/issues/450)) [[`ef41c74`](ht
tps://github.com/PrismJS/prism/commit/ef41c74)] |
| 50 * __Docker__ ([#576](https://github.com/PrismJS/prism/issues/576)) [[`e808352`](
https://github.com/PrismJS/prism/commit/e808352)] |
| 51 * __Elixir__ ([#614](https://github.com/PrismJS/prism/issues/614)) [[`a1c028c`](
https://github.com/PrismJS/prism/commit/a1c028c), [`c451611`](https://github.com
/PrismJS/prism/commit/c451611), [`2e637f0`](https://github.com/PrismJS/prism/com
mit/2e637f0), [`ccb6566`](https://github.com/PrismJS/prism/commit/ccb6566)] |
| 52 * __GLSL__ ([#615](https://github.com/PrismJS/prism/issues/615)) [[`247da05`](ht
tps://github.com/PrismJS/prism/commit/247da05)] |
| 53 * __Inform 7__ ([#616](https://github.com/PrismJS/prism/issues/616)) [[`d2595b4`
](https://github.com/PrismJS/prism/commit/d2595b4)] |
| 54 * __J__ ([#623](https://github.com/PrismJS/prism/issues/623)) [[`0cc50b2`](https
://github.com/PrismJS/prism/commit/0cc50b2)] |
| 55 * __MEL__ ([#618](https://github.com/PrismJS/prism/issues/618)) [[`8496c14`](htt
ps://github.com/PrismJS/prism/commit/8496c14)] |
| 56 * __Mizar__ ([#619](https://github.com/PrismJS/prism/issues/619)) [[`efde61d`](h
ttps://github.com/PrismJS/prism/commit/efde61d)] |
| 57 * __Monkey__ ([#621](https://github.com/PrismJS/prism/issues/621)) [[`fdd4a3c`](
https://github.com/PrismJS/prism/commit/fdd4a3c)] |
| 58 * __nginx__ ([#776](https://github.com/PrismJS/prism/issues/776)) [[`dc4fc19`](h
ttps://github.com/PrismJS/prism/commit/dc4fc19), [`e62c88e`](https://github.com/
PrismJS/prism/commit/e62c88e)] |
| 59 * __Nim__ ([#622](https://github.com/PrismJS/prism/issues/622)) [[`af9c49a`](htt
ps://github.com/PrismJS/prism/commit/af9c49a)] |
| 60 * __OCaml__ ([#628](https://github.com/PrismJS/prism/issues/628)) [[`556c04d`](h
ttps://github.com/PrismJS/prism/commit/556c04d)] |
| 61 * __Processing__ ([#629](https://github.com/PrismJS/prism/issues/629)) [[`e47087
b`](https://github.com/PrismJS/prism/commit/e47087b)] |
| 62 * __Prolog__ ([#630](https://github.com/PrismJS/prism/issues/630)) [[`dd04c32`](
https://github.com/PrismJS/prism/commit/dd04c32)] |
| 63 * __Pure__ ([#626](https://github.com/PrismJS/prism/issues/626)) [[`9c276ab`](ht
tps://github.com/PrismJS/prism/commit/9c276ab)] |
| 64 * __Q__ ([#624](https://github.com/PrismJS/prism/issues/624)) [[`c053c9e`](https
://github.com/PrismJS/prism/commit/c053c9e)] |
| 65 * __Qore__ [[`125e91f`](https://github.com/PrismJS/prism/commit/125e91f)] |
| 66 * __Tcl__ [[`a3e751a`](https://github.com/PrismJS/prism/commit/a3e751a), [`11ff8
29`](https://github.com/PrismJS/prism/commit/11ff829)] |
| 67 * __Textile__ ([#544](https://github.com/PrismJS/prism/issues/544)) [[`d0c6764`]
(https://github.com/PrismJS/prism/commit/d0c6764)] |
| 68 * __Verilog__ ([#640](https://github.com/PrismJS/prism/issues/640)) [[`44a11c2`]
(https://github.com/PrismJS/prism/commit/44a11c2), [`795eb99`](https://github.co
m/PrismJS/prism/commit/795eb99)] |
| 69 * __Vim__ [[`69ea994`](https://github.com/PrismJS/prism/commit/69ea994)] |
| 70 |
| 71 ### Updated components |
| 72 |
| 73 * __Bash__: |
| 74 * Add support for Here-Documents ([#787](https://github.com/PrismJS/pris
m/issues/787)) [[`b57a096`](https://github.com/PrismJS/prism/commit/b57a096)] |
| 75 * Remove C-like dependency ([#789](https://github.com/PrismJS/prism/issu
es/789)) [[`1ab4619`](https://github.com/PrismJS/prism/commit/1ab4619)] |
| 76 * __C__: |
| 77 * Fixed numbers [[`4d64d07`](https://github.com/PrismJS/prism/commit/4d6
4d07), [`071c3dd`](https://github.com/PrismJS/prism/commit/071c3dd)] |
| 78 * __C-like__: |
| 79 * Add word boundary before class-name prefixes [[`aa757f6`](https://gith
ub.com/PrismJS/prism/commit/aa757f6)] |
| 80 * Improved operator regex + add != and !== [[`135ee9d`](https://github.c
om/PrismJS/prism/commit/135ee9d)] |
| 81 * Optimized string regexp [[`792e35c`](https://github.com/PrismJS/prism/
commit/792e35c)] |
| 82 * __F#__: |
| 83 * Fixed keywords containing exclamation mark [[`09f2005`](https://github
.com/PrismJS/prism/commit/09f2005)] |
| 84 * Improved string pattern [[`0101c89`](https://github.com/PrismJS/prism/
commit/0101c89)] |
| 85 * Insert preprocessor before keyword + don't allow line feeds before # [
[`fdc9477`](https://github.com/PrismJS/prism/commit/fdc9477)] |
| 86 * Fixed numbers [[`0aa0791`](https://github.com/PrismJS/prism/commit/0aa
0791)] |
| 87 * __Gherkin__: |
| 88 * Don't allow spaces in tags [[`48ff8b7`](https://github.com/PrismJS/pri
sm/commit/48ff8b7)] |
| 89 * Handle \r\n and \r + allow feature alone + don't match blank td/th [[`
ce1ec3b`](https://github.com/PrismJS/prism/commit/ce1ec3b)] |
| 90 * __Git__: |
| 91 * Added more examples ([#652](https://github.com/PrismJS/prism/issues/65
2)) [[`95dc102`](https://github.com/PrismJS/prism/commit/95dc102)] |
| 92 * Add support for unified diff. Fixes [#769](https://github.com/PrismJS/
prism/issues/769), fixes [#357](https://github.com/PrismJS/prism/issues/357), cl
oses [#401](https://github.com/PrismJS/prism/issues/401) [[`3aadd5d`](https://gi
thub.com/PrismJS/prism/commit/3aadd5d)] |
| 93 * __Go__: |
| 94 * Improved operator regexp + removed punctuation from it [[`776ab90`](ht
tps://github.com/PrismJS/prism/commit/776ab90)] |
| 95 * __Haml__: |
| 96 * Combine both multiline-comment regexps + handle \r\n and \r [[`f77b40b
`](https://github.com/PrismJS/prism/commit/f77b40b)] |
| 97 * Handle \r\n and \r in filter regex [[`bbe68ac`](https://github.com/Pri
smJS/prism/commit/bbe68ac)] |
| 98 * __Handlebars__: |
| 99 * Fix empty strings, add plus sign in exponential notation, improve bloc
k pattern and variable pattern [[`c477f9a`](https://github.com/PrismJS/prism/com
mit/c477f9a)] |
| 100 * Properly escape special replacement patterns ($) in Handlebars, PHP an
d Smarty. Fix [#772](https://github.com/PrismJS/prism/issues/772) [[`895bf46`](h
ttps://github.com/PrismJS/prism/commit/895bf46)] |
| 101 * __Haskell__: |
| 102 * Removed useless backslashes and parentheses + handle \r\n and \r + sim
plify number regexp + fix operator regexp [[`1cc8d8e`](https://github.com/PrismJ
S/prism/commit/1cc8d8e)] |
| 103 * __HTTP__: |
| 104 * Fix indentation + Add multiline flag for more flexibility + Fix respon
se status + Handle \r\n and \r [[`aaa90f1`](https://github.com/PrismJS/prism/com
mit/aaa90f1)] |
| 105 * __Ini__: |
| 106 * Fix some regexps + remove unused flags [[`53d5839`](https://github.com
/PrismJS/prism/commit/53d5839)] |
| 107 * __Jade__: |
| 108 * Add todo list + remove single-line comment pattern + simplified most p
atterns with m flag + handle \r\n and \r [[`a79e838`](https://github.com/PrismJS
/prism/commit/a79e838)] |
| 109 * __Java__: |
| 110 * Fix number regexp + simplified number regexp and optimized operator re
gexp [[`21e20b9`](https://github.com/PrismJS/prism/commit/21e20b9)] |
| 111 * __JavaScript__: |
| 112 * JavaScript: Allow for all non-ASCII characters in function names. Fix
[#400](https://github.com/PrismJS/prism/issues/400) [[`29e26dc`](https://github.
com/PrismJS/prism/commit/29e26dc)] |
| 113 * __JSX__: |
| 114 * Allow for one level of nesting in scripts (Fix [#717](https://github.c
om/PrismJS/prism/issues/717)) [[`90c75d5`](https://github.com/PrismJS/prism/comm
it/90c75d5)] |
| 115 * __Julia__: |
| 116 * Simplify comment regexp + improved number regexp + improved operator r
egexp [[`bcac7d4`](https://github.com/PrismJS/prism/commit/bcac7d4)] |
| 117 * __Keyman__: |
| 118 * Move header statements above keywords [[`23a444c`](https://github.com/
PrismJS/prism/commit/23a444c)] |
| 119 * __LaTeX__: |
| 120 * Simplify comment regexp [[`132b41a`](https://github.com/PrismJS/prism/
commit/132b41a)] |
| 121 * Extend support [[`942a6ec`](https://github.com/PrismJS/prism/commit/94
2a6ec)] |
| 122 * __Less__: |
| 123 * Remove useless part in property regexp [[`80d8260`](https://github.com
/PrismJS/prism/commit/80d8260)] |
| 124 * __LOLCODE__: |
| 125 * Removed useless parentheses [[`8147c9b`](https://github.com/PrismJS/pr
ism/commit/8147c9b)] |
| 126 * __Makefile__: |
| 127 * Add known failures in example [[`e0f8984`](https://github.com/PrismJS/
prism/commit/e0f8984)] |
| 128 * Handle \r\n in comments and strings + fix "-include" keyword |
| 129 * __Markup__: |
| 130 * Simplify patterns + handle \r\n and \r [[`4c551e8`](https://github.com
/PrismJS/prism/commit/4c551e8)] |
| 131 * Don't allow = to appear in tag name [[`85d8a55`](https://github.com/Pr
ismJS/prism/commit/85d8a55)] |
| 132 * Don't allow dot inside tag name [[`283691e`](https://github.com/PrismJ
S/prism/commit/283691e)] |
| 133 * __MATLAB__: |
| 134 * Simplify string pattern to remove lookbehind [[`a3cbecc`](https://gith
ub.com/PrismJS/prism/commit/a3cbecc)] |
| 135 * __NASM__: |
| 136 * Converted indents to tabs, removed uneeded escapes, added lookbehinds
[[`a92e4bd`](https://github.com/PrismJS/prism/commit/a92e4bd)] |
| 137 * __NSIS__: |
| 138 * Simplified patterns [[`bbd83d4`](https://github.com/PrismJS/prism/comm
it/bbd83d4)] |
| 139 * Fix operator regexp [[`44ad8dc`](https://github.com/PrismJS/prism/comm
it/44ad8dc)] |
| 140 * __Objective-C__: |
| 141 * Simplified regexps + fix strings + handle \r [[`1d33147`](https://gith
ub.com/PrismJS/prism/commit/1d33147)] |
| 142 * Fix operator regexp [[`e9d382e`](https://github.com/PrismJS/prism/comm
it/e9d382e)] |
| 143 * __Pascal__: |
| 144 * Simplified regexps [[`c03c8a4`](https://github.com/PrismJS/prism/commi
t/c03c8a4)] |
| 145 * __Perl__: |
| 146 * Simplified regexps + Made most string and regexp patterns multi-line +
Added support for regexp's n flag + Added missing operators [[`71b00cc`](https:
//github.com/PrismJS/prism/commit/71b00cc)] |
| 147 * __PHP__: |
| 148 * Simplified patterns [[`f9d9452`](https://github.com/PrismJS/prism/comm
it/f9d9452)] |
| 149 * Properly escape special replacement patterns ($) in Handlebars, PHP an
d Smarty. Fix [#772](https://github.com/PrismJS/prism/issues/772) [[`895bf46`](h
ttps://github.com/PrismJS/prism/commit/895bf46)] |
| 150 * __PHP Extras__: |
| 151 * Fix $this regexp + improve global regexp [[`781fdad`](https://github.c
om/PrismJS/prism/commit/781fdad)] |
| 152 * __PowerShell__: |
| 153 * Update definitions for command/alias/operators [[`14da55c`](https://gi
thub.com/PrismJS/prism/commit/14da55c)] |
| 154 * __Python__: |
| 155 * Added async/await and @ operator ([#656](https://github.com/PrismJS/pr
ism/issues/656)) [[`7f1ae75`](https://github.com/PrismJS/prism/commit/7f1ae75)] |
| 156 * Added 'self' keyword and support for class names ([#677](https://githu
b.com/PrismJS/prism/issues/677)) [[`d9d4ab2`](https://github.com/PrismJS/prism/c
ommit/d9d4ab2)] |
| 157 * Simplified regexps + don't capture where unneeded + fixed operators [[
`530f5f0`](https://github.com/PrismJS/prism/commit/530f5f0)] |
| 158 * __R__: |
| 159 * Fixed and simplified patterns [[`c20c3ec`](https://github.com/PrismJS/
prism/commit/c20c3ec)] |
| 160 * __reST__: |
| 161 * Simplified some patterns, fixed others, prevented blank comments to ma
tch, moved list-bullet down to prevent breaking quotes [[`e6c6b85`](https://gith
ub.com/PrismJS/prism/commit/e6c6b85)] |
| 162 * __Rip__: |
| 163 * Fixed some regexp + moved down numbers [[`1093f7d`](https://github.com
/PrismJS/prism/commit/1093f7d)] |
| 164 * __Ruby__: |
| 165 * Code cleaning, handle \r\n and \r, fix some regexps [[`dd4989f`](https
://github.com/PrismJS/prism/commit/dd4989f)] |
| 166 * Add % notations for strings and regexps. Fix [#590](https://github.com
/PrismJS/prism/issues/590) [[`2d37800`](https://github.com/PrismJS/prism/commit/
2d37800)] |
| 167 * __Rust__: |
| 168 * Simplified patterns and fixed operators [[`6c8494f`](https://github.co
m/PrismJS/prism/commit/6c8494f)] |
| 169 * __SAS__: |
| 170 * Simplified datalines and optimized operator patterns [[`6ebb96f`](http
s://github.com/PrismJS/prism/commit/6ebb96f)] |
| 171 * __Sass__: |
| 172 * Add missing require in components [[`35b8c50`](https://github.com/Pris
mJS/prism/commit/35b8c50)] |
| 173 * Fix comments, operators and selectors and simplified patterns [[`28759
d0`](https://github.com/PrismJS/prism/commit/28759d0)] |
| 174 * Highlight "-" as operator only if surrounded by spaces, in order to no
t break hyphenated values (e.g. "ease-in-out") [[`b2763e7`](https://github.com/P
rismJS/prism/commit/b2763e7)] |
| 175 * __Scala__: |
| 176 * Simplified patterns [[`daf2597`](https://github.com/PrismJS/prism/comm
it/daf2597)] |
| 177 * __Scheme__: |
| 178 * Add missing lookbehind on number pattern. Fix [#702](https://github.co
m/PrismJS/prism/issues/702) [[`3120ff7`](https://github.com/PrismJS/prism/commit
/3120ff7)] |
| 179 * Fixes and simplifications [[`068704a`](https://github.com/PrismJS/pris
m/commit/068704a)] |
| 180 * Don't match content of symbols starting with a parenthesis [[`fa7df08`
](https://github.com/PrismJS/prism/commit/fa7df08)] |
| 181 * __Scss__: |
| 182 * Simplified patterns + fixed operators + don't match empty selectors [[
`672c167`](https://github.com/PrismJS/prism/commit/672c167)] |
| 183 * __Smalltalk__: |
| 184 * Simplified patterns [[`d896622`](https://github.com/PrismJS/prism/comm
it/d896622)] |
| 185 * __Smarty__: |
| 186 * Optimized regexps + fixed punctuation and operators [[`1446700`](https
://github.com/PrismJS/prism/commit/1446700)] |
| 187 * Properly escape special replacement patterns ($) in Handlebars, PHP an
d Smarty. Fix [#772](https://github.com/PrismJS/prism/issues/772) [[`895bf46`](h
ttps://github.com/PrismJS/prism/commit/895bf46)] |
| 188 * __SQL__: |
| 189 * Simplified regexp + fixed keywords and operators + add CHARSET keyword
[[`d49fec0`](https://github.com/PrismJS/prism/commit/d49fec0)] |
| 190 * __Stylus__: |
| 191 * Rewrote the component entirely [[`7729728`](https://github.com/PrismJS
/prism/commit/7729728)] |
| 192 * __Swift__: |
| 193 * Optimized keywords lists and removed duplicates [[`936e429`](https://g
ithub.com/PrismJS/prism/commit/936e429)] |
| 194 * Add support for string interpolation. Fix [#448](https://github.com/Pr
ismJS/prism/issues/448) [[`89cd5d0`](https://github.com/PrismJS/prism/commit/89c
d5d0)] |
| 195 * __Twig__: |
| 196 * Prevent "other" pattern from matching blank strings [[`cae2cef`](https
://github.com/PrismJS/prism/commit/cae2cef)] |
| 197 * Optimized regexps + fixed operators + added missing operators/keywords
[[`2d8271f`](https://github.com/PrismJS/prism/commit/2d8271f)] |
| 198 * __VHDL__: |
| 199 * Move operator overloading before strings, don't capture if not needed,
handle \r\n and \r, fix numbers [[`4533f17`](https://github.com/PrismJS/prism/c
ommit/4533f17)] |
| 200 * __Wiki markup__: |
| 201 * Fixed emphasis + merged some url patterns + added TODOs [[`8cf9e6a`](h
ttps://github.com/PrismJS/prism/commit/8cf9e6a)] |
| 202 * __YAML__: |
| 203 * Handled \r\n and \r, simplified some patterns, fixed "---" [[`9e33e0a`
](https://github.com/PrismJS/prism/commit/9e33e0a)] |
| 204 |
| 205 ### New plugins |
| 206 |
| 207 * __Autoloader__ ([#766](https://github.com/PrismJS/prism/issues/766)) [[`ed4ccf
e`](https://github.com/PrismJS/prism/commit/ed4ccfe)] |
| 208 * __JSONP Highlight__ [[`b2f14d9`](https://github.com/PrismJS/prism/commit/b2f14
d9)] |
| 209 * __Keep Markup__ ([#770](https://github.com/PrismJS/prism/issues/770)) [[`bd3e9
ea`](https://github.com/PrismJS/prism/commit/bd3e9ea)] |
| 210 * __Previewer: Base__ ([#767](https://github.com/PrismJS/prism/issues/767)) [[`c
f764c0`](https://github.com/PrismJS/prism/commit/cf764c0)] |
| 211 * __Previewer: Color__ ([#767](https://github.com/PrismJS/prism/issues/767)) [[`
cf764c0`](https://github.com/PrismJS/prism/commit/cf764c0)] |
| 212 * __Previewer: Easing__ ([#773](https://github.com/PrismJS/prism/issues/773)) [[
`513137c`](https://github.com/PrismJS/prism/commit/513137c), [`9207258`](https:/
/github.com/PrismJS/prism/commit/9207258), [`4303c94`](https://github.com/PrismJ
S/prism/commit/4303c94)] |
| 213 * __Remove initial line feed__ [[`ed9f2b2`](https://github.com/PrismJS/prism/com
mit/ed9f2b2), [`b8d098e`](https://github.com/PrismJS/prism/commit/b8d098e)] |
| 214 |
| 215 ### Updated plugins |
| 216 |
| 217 * __Autolinker__: |
| 218 * Don't process all grammars on load, process each one in before-highlig
ht. Should fix [#760](https://github.com/PrismJS/prism/issues/760) [[`a572495`](
https://github.com/PrismJS/prism/commit/a572495)] |
| 219 * __Line Highlight__: |
| 220 * Run in `complete` hook [[`f237e67`](https://github.com/PrismJS/prism/c
ommit/f237e67)] |
| 221 * Fixed position when font-size is odd ([#668](https://github.com/PrismJ
S/prism/issues/668)) [[`86bbd4c`](https://github.com/PrismJS/prism/commit/86bbd4
c), [`8ed7ce3`](https://github.com/PrismJS/prism/commit/8ed7ce3)] |
| 222 * __Line Numbers__: |
| 223 * Run in `complete` hook [[`3f4d918`](https://github.com/PrismJS/prism/c
ommit/3f4d918)] |
| 224 * Don't run if already exists [[`c89bbdb`](https://github.com/PrismJS/pr
ism/commit/c89bbdb)] |
| 225 * Don't run if block is empty. Fix [#669](https://github.com/PrismJS/pri
sm/issues/669) [[`ee463e8`](https://github.com/PrismJS/prism/commit/ee463e8)] |
| 226 * Correct calculation for number of lines (fix [#385](https://github.com
/PrismJS/prism/issues/385)) [[`14f3f80`](https://github.com/PrismJS/prism/commit
/14f3f80)] |
| 227 * Fix computation of line numbers for single-line code blocks. Fix [#721
](https://github.com/PrismJS/prism/issues/721) [[`02b220e`](https://github.com/P
rismJS/prism/commit/02b220e)] |
| 228 * Fixing word wrap on long code lines [[`56b3d29`](https://github.com/Pr
ismJS/prism/commit/56b3d29)] |
| 229 * Fixing coy theme + line numbers plugin overflowing on long blocks of t
ext ([#762](https://github.com/PrismJS/prism/issues/762)) [[`a0127eb`](https://g
ithub.com/PrismJS/prism/commit/a0127eb)] |
| 230 * __Show Language__: |
| 231 * Add gulp task to build languages map in Show language plugin (Fix [#67
1](https://github.com/PrismJS/prism/issues/671)) [[`39bd827`](https://github.com
/PrismJS/prism/commit/39bd827)] |
| 232 * Add reset styles to prevent bug in Coy theme ([#703](https://github.co
m/PrismJS/prism/issues/703)) [[`08dd500`](https://github.com/PrismJS/prism/commi
t/08dd500)] |
| 233 |
| 234 ### Other changes |
| 235 |
| 236 * Fixed link to David Peach article ([#647](https://github.com/PrismJS/prism/iss
ues/647)) [[`3f679f8`](https://github.com/PrismJS/prism/commit/3f679f8)] |
| 237 * Added `complete` hook, which runs even when no grammar is found [[`e58b6c0`](h
ttps://github.com/PrismJS/prism/commit/e58b6c0), [`fd54995`](https://github.com/
PrismJS/prism/commit/fd54995)] |
| 238 * Added test suite runner ([#588](https://github.com/PrismJS/prism/issues/588))
[[`956cd85`](https://github.com/PrismJS/prism/commit/956cd85)] |
| 239 * Added tests for every components |
| 240 * Added `.gitattributes` to prevent line ending changes in test files [[`45ca8c8
`](https://github.com/PrismJS/prism/commit/45ca8c8)] |
| 241 * Split plugins into 3 columns on Download page [[`a88936a`](https://github.com/
PrismJS/prism/commit/a88936a)] |
| 242 * Removed comment in components.js to make it easier to parse as JSON ([#679](ht
tps://github.com/PrismJS/prism/issues/679)) [[`2cb1326`](https://github.com/Pris
mJS/prism/commit/2cb1326)] |
| 243 * Updated README.md [[`1388256`](https://github.com/PrismJS/prism/commit/1388256
)] |
| 244 * Updated documentation since the example was not relevant any more [[`80aedb2`]
(https://github.com/PrismJS/prism/commit/80aedb2)] |
| 245 * Fixed inline style for Coy theme [[`52829b3`](https://github.com/PrismJS/prism
/commit/52829b3)] |
| 246 * Prevent errors in nodeJS ([#754](https://github.com/PrismJS/prism/issues/754))
[[`9f5c93c`](https://github.com/PrismJS/prism/commit/9f5c93c), [`0356c58`](http
s://github.com/PrismJS/prism/commit/0356c58)] |
| 247 * Explicitly make the Worker close itself after highlighting, so that users have
control on this behaviour when directly using Prism inside a Worker. Fix [#492]
(https://github.com/PrismJS/prism/issues/492) [[`e42a228`](https://github.com/Pr
ismJS/prism/commit/e42a228)] |
| 248 * Added some language aliases: js for javascript, xml, html, mathml and svg for
markup [[`2f9fe1e`](https://github.com/PrismJS/prism/commit/2f9fe1e)] |
| 249 * Download page: Add a "Select all" checkbox ([#561](https://github.com/PrismJS/
prism/issues/561)) [[`9a9020b`](https://github.com/PrismJS/prism/commit/9a9020b)
] |
| 250 * Download page: Don't add semicolon unless needed in generated code. Fix [#273]
(https://github.com/PrismJS/prism/issues/273) [[`5a5eec5`](https://github.com/Pr
ismJS/prism/commit/5a5eec5)] |
| 251 * Add language counter on homepage [[`889cda5`](https://github.com/PrismJS/prism
/commit/889cda5)] |
| 252 * Improve performance by doing more work in the worker [[`1316abc`](https://gith
ub.com/PrismJS/prism/commit/1316abc)] |
| 253 * Replace Typeplate with SitePoint on homepage. Fix [#774](https://github.com/Pr
ismJS/prism/issues/774) [[`0c54308`](https://github.com/PrismJS/prism/commit/0c5
4308)] |
| 254 * Added basic `.editorconfig` [[`c48f55d`](https://github.com/PrismJS/prism/comm
it/c48f55d)] |
| 255 |
| 256 --- |
| 257 |
| 258 ## 1.0.1 (2015-07-26) |
| 259 |
| 260 ### New components |
| 261 |
| 262 * __Brainfuck__ ([#611](https://github.com/PrismJS/prism/issues/611)) [[`3ede718
`](https://github.com/PrismJS/prism/commit/3ede718)] |
| 263 * __Keyman__ ([#609](https://github.com/PrismJS/prism/issues/609)) [[`2698f82`](
https://github.com/PrismJS/prism/commit/2698f82), [`e9936c6`](https://github.com
/PrismJS/prism/commit/e9936c6)] |
| 264 * __Makefile__ ([#610](https://github.com/PrismJS/prism/issues/610)) [[`3baa61c`
](https://github.com/PrismJS/prism/commit/3baa61c)] |
| 265 * __Sass (Sass)__ (fix [#199](https://github.com/PrismJS/prism/issues/199)) [[`b
081804`](https://github.com/PrismJS/prism/commit/b081804)] |
| 266 * __VHDL__ ([#595](https://github.com/PrismJS/prism/issues/595)) [[`43e6157`](ht
tps://github.com/PrismJS/prism/commit/43e6157)] |
| 267 |
| 268 ### Updated components |
| 269 |
| 270 * __ActionScript__: |
| 271 * Fix ! operator and add ++ and -- as whole operators [[`6bf0794`](https
://github.com/PrismJS/prism/commit/6bf0794)] |
| 272 * Fix XML highlighting [[`90257b0`](https://github.com/PrismJS/prism/com
mit/90257b0)] |
| 273 * Update examples to add inline XML [[`2c1626a`](https://github.com/Pris
mJS/prism/commit/2c1626a), [`3987711`](https://github.com/PrismJS/prism/commit/3
987711)] |
| 274 * __Apache Configuration__: |
| 275 * Don't include the spaces in directive-inline [[`e87efd8`](https://gith
ub.com/PrismJS/prism/commit/e87efd8)] |
| 276 * __AppleScript__: |
| 277 * Allow one level of nesting in block comments [[`65894c5`](https://gith
ub.com/PrismJS/prism/commit/65894c5)] |
| 278 * Removed duplicates between operators and keywords [[`1ec5a81`](https:/
/github.com/PrismJS/prism/commit/1ec5a81)] |
| 279 * Removed duplicates between keywords and classes [[`e8d09f6`](https://g
ithub.com/PrismJS/prism/commit/e8d09f6)] |
| 280 * Move numbers up so they are not broken by operator pattern [[`66dac31`
](https://github.com/PrismJS/prism/commit/66dac31)] |
| 281 * __ASP.NET__: |
| 282 * Prevent Markup tags from breaking ASP tags + fix MasterType directive
[[`1f0a336`](https://github.com/PrismJS/prism/commit/1f0a336)] |
| 283 * __AutoHotkey__: |
| 284 * Allow tags (labels) to be highlighted at the end of the code [[`0a1fc4
b`](https://github.com/PrismJS/prism/commit/0a1fc4b)] |
| 285 * Match all operators + add comma to punctuation [[`f0ccb1b`](https://gi
thub.com/PrismJS/prism/commit/f0ccb1b)] |
| 286 * Removed duplicates in keywords lists [[`fe0a068`](https://github.com/P
rismJS/prism/commit/fe0a068)] |
| 287 * __Bash__: |
| 288 * Simplify comment regex [[`2700981`](https://github.com/PrismJS/prism/c
ommit/2700981)] |
| 289 * Removed duplicates in keywords + removed unneeded parentheses [[`903b8
a4`](https://github.com/PrismJS/prism/commit/903b8a4)] |
| 290 * __C__: |
| 291 * Removed string pattern (inherited from C-like) [[`dcce1a7`](https://gi
thub.com/PrismJS/prism/commit/dcce1a7)] |
| 292 * Better support for macro statements [[`4868635`](https://github.com/Pr
ismJS/prism/commit/4868635)] |
| 293 * __C#__: |
| 294 * Fix preprocessor pattern [[`86311f5`](https://github.com/PrismJS/prism
/commit/86311f5)] |
| 295 * __C++__: |
| 296 * Removed delete[] and new[] broken keywords [[`42fbeef`](https://github
.com/PrismJS/prism/commit/42fbeef)] |
| 297 * __C-like__: |
| 298 * Removed unused 'ignore' pattern [[`b6535dd`](https://github.com/PrismJ
S/prism/commit/b6535dd)] |
| 299 * Use look-ahead instead of inside to match functions [[`d4194c9`](https
://github.com/PrismJS/prism/commit/d4194c9)] |
| 300 * __CoffeeScript__: |
| 301 * Prevent strings from ending with a backslash [[`cb6b824`](https://gith
ub.com/PrismJS/prism/commit/cb6b824)] |
| 302 * __CSS__: |
| 303 * Highlight parentheses as punctuation [[`cd0273e`](https://github.com/P
rismJS/prism/commit/cd0273e)] |
| 304 * Improved highlighting of at-rules [[`e254088`](https://github.com/Pris
mJS/prism/commit/e254088)] |
| 305 * Improved URL and strings [[`901812c`](https://github.com/PrismJS/prism
/commit/901812c)] |
| 306 * Selector regexp should not include last spaces before brace [[`f2e2718
`](https://github.com/PrismJS/prism/commit/f2e2718)] |
| 307 * Handle \r\n [[`15760e1`](https://github.com/PrismJS/prism/commit/15760
e1)] |
| 308 * __Eiffel__: |
| 309 * Fix string patterns order + fix /= operator [[`7d1b8d7`](https://githu
b.com/PrismJS/prism/commit/7d1b8d7)] |
| 310 * __Erlang__: |
| 311 * Fixed quoted functions, quoted atoms, variables and <= operator [[`fa2
86aa`](https://github.com/PrismJS/prism/commit/fa286aa)] |
| 312 * __Fortran__: |
| 313 * Improved pattern for comments inside strings [[`40ae215`](https://gith
ub.com/PrismJS/prism/commit/40ae215)] |
| 314 * Fixed order in keyword pattern [[`8a6d32d`](https://github.com/PrismJS
/prism/commit/8a6d32d)] |
| 315 * __Handlebars__: |
| 316 * Support blocks with dashes ([#587](https://github.com/PrismJS/prism/is
sues/587)) [[`f409b13`](https://github.com/PrismJS/prism/commit/f409b13)] |
| 317 * __JavaScript__: |
| 318 * Added support for 'y' and 'u' ES6 JavaScript regex flags ([#596](https
://github.com/PrismJS/prism/issues/596)) [[`5d99957`](https://github.com/PrismJS
/prism/commit/5d99957)] |
| 319 * Added support for missing ES6 keywords in JavaScript ([#596](https://g
ithub.com/PrismJS/prism/issues/596)) [[`ca68b87`](https://github.com/PrismJS/pri
sm/commit/ca68b87)] |
| 320 * Added `async` and `await` keywords ([#575](https://github.com/PrismJS/
prism/issues/575)) [[`5458cec`](https://github.com/PrismJS/prism/commit/5458cec)
] |
| 321 * Added support for Template strings + interpolation [[`04f72b1`](https:
//github.com/PrismJS/prism/commit/04f72b1)] |
| 322 * Added support for octal and binary numbers ([#597](https://github.com/
PrismJS/prism/issues/597)) [[`a8aa058`](https://github.com/PrismJS/prism/commit/
a8aa058)] |
| 323 * Improve regex performance of C-like strings and JS regexps [[`476cbf4`
](https://github.com/PrismJS/prism/commit/476cbf4)] |
| 324 * __Markup__: |
| 325 * Allow non-ASCII chars in tag names and attributes (fix [#585](https://
github.com/PrismJS/prism/issues/585)) [[`52fd55e`](https://github.com/PrismJS/pr
ism/commit/52fd55e)] |
| 326 * Optimized tag's regexp so that it stops crashing on large unclosed tag
s [[`75452ba`](https://github.com/PrismJS/prism/commit/75452ba)] |
| 327 * Highlight single quotes in attr-value as punctuation [[`1ebcb8e`](http
s://github.com/PrismJS/prism/commit/1ebcb8e)] |
| 328 * Doctype and prolog can be multi-line [[`c19a238`](https://github.com/P
rismJS/prism/commit/c19a238)] |
| 329 * __Python__: |
| 330 * Added highlighting for function declaration ([#601](https://github.com
/PrismJS/prism/issues/601)) [[`a88aae8`](https://github.com/PrismJS/prism/commit
/a88aae8)] |
| 331 * Fixed wrong highlighting of variables named a, b, c... f ([#601](https
://github.com/PrismJS/prism/issues/601)) [[`a88aae8`](https://github.com/PrismJS
/prism/commit/a88aae8)] |
| 332 * __Ruby__: |
| 333 * Added support for string interpolation [[`c36b123`](https://github.com
/PrismJS/prism/commit/c36b123)] |
| 334 * __Scss__: |
| 335 * Fixed media queries highlighting [[`bf8e032`](https://github.com/Prism
JS/prism/commit/bf8e032)] |
| 336 * Improved highlighting inside at-rules [[`eef4248`](https://github.com/
PrismJS/prism/commit/eef4248)] |
| 337 * Match placeholders inside selectors (fix [#238](https://github.com/Pri
smJS/prism/issues/238)) [[`4e42e26`](https://github.com/PrismJS/prism/commit/4e4
2e26)] |
| 338 * __Swift__: |
| 339 * Update keywords list (fix [#625](https://github.com/PrismJS/prism/issu
es/625)) [[`88f44a7`](https://github.com/PrismJS/prism/commit/88f44a7)] |
| 340 |
| 341 ### Updated plugins |
| 342 |
| 343 * __File Highlight__: |
| 344 * Allow to specify the highlighting language. Fix [#607](https://github.
com/PrismJS/prism/issues/607) [[`8030db9`](https://github.com/PrismJS/prism/comm
it/8030db9)] |
| 345 * __Line Highlight__: |
| 346 * Fixed incorrect height in IE9 ([#604](https://github.com/PrismJS/prism
/issues/604)) [[`f1705eb`](https://github.com/PrismJS/prism/commit/f1705eb)] |
| 347 * Prevent errors in IE8 [[`5f133c8`](https://github.com/PrismJS/prism/co
mmit/5f133c8)] |
| 348 |
| 349 ### Other changes |
| 350 |
| 351 * Removed moot `version` property from `bower.json` ([#594](https://github.com/P
rismJS/prism/issues/594)) [[`4693499`](https://github.com/PrismJS/prism/commit/4
693499)] |
| 352 * Added repository to `bower.json` ([#600](https://github.com/PrismJS/prism/issu
es/600)) [[`8e5ebcc`](https://github.com/PrismJS/prism/commit/8e5ebcc)] |
| 353 * Added `.DS_Store` to `.gitignore` [[`1707e4e`](https://github.com/PrismJS/pris
m/commit/1707e4e)] |
| 354 * Improve test drive page usability. Fix [#591](https://github.com/PrismJS/prism
/issues/591) [[`fe60858`](https://github.com/PrismJS/prism/commit/fe60858)] |
| 355 * Fixed prism-core and prism-file-highlight to prevent errors in IE8 [[`5f133c8`
](https://github.com/PrismJS/prism/commit/5f133c8)] |
| 356 * Add Ubuntu Mono font to font stack [[`ed9d7e3`](https://github.com/PrismJS/pri
sm/commit/ed9d7e3)] |
| 357 |
| 358 --- |
| 359 |
| 360 ## 1.0.0 (2015-05-23) |
| 361 |
| 362 * First release |
| 363 * Supported languages: |
| 364 * ActionScript |
| 365 * Apache Configuration |
| 366 * AppleScript |
| 367 * ASP.NET (C#) |
| 368 * AutoHotkey |
| 369 * Bash |
| 370 * C |
| 371 * C# |
| 372 * C++ |
| 373 * C-like |
| 374 * CoffeeScript |
| 375 * CSS |
| 376 * CSS Extras |
| 377 * Dart |
| 378 * Eiffel |
| 379 * Erlang |
| 380 * F# |
| 381 * Fortran |
| 382 * Gherkin |
| 383 * Git |
| 384 * Go |
| 385 * Groovy |
| 386 * Haml |
| 387 * Handlebars |
| 388 * Haskell |
| 389 * HTTP |
| 390 * Ini |
| 391 * Jade |
| 392 * Java |
| 393 * JavaScript |
| 394 * Julia |
| 395 * LaTeX |
| 396 * Less |
| 397 * LOLCODE |
| 398 * Markdown |
| 399 * Markup |
| 400 * MATLAB |
| 401 * NASM |
| 402 * NSIS |
| 403 * Objective-C |
| 404 * Pascal |
| 405 * Perl |
| 406 * PHP |
| 407 * PHP Extras |
| 408 * PowerShell |
| 409 * Python |
| 410 * R |
| 411 * React JSX |
| 412 * reST |
| 413 * Rip |
| 414 * Ruby |
| 415 * Rust |
| 416 * SAS |
| 417 * Sass (Scss) |
| 418 * Scala |
| 419 * Scheme |
| 420 * Smalltalk |
| 421 * Smarty |
| 422 * SQL |
| 423 * Stylus |
| 424 * Swift |
| 425 * Twig |
| 426 * TypeScript |
| 427 * Wiki markup |
| 428 * YAML |
| 429 * Plugins: |
| 430 * Autolinker |
| 431 * File Highlight |
| 432 * Highlight Keywords |
| 433 * Line Highlight |
| 434 * Line Numbers |
| 435 * Show Invisibles |
| 436 * Show Language |
| 437 * WebPlatform Docs |
OLD | NEW |