redmine_extensions 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (392) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +340 -0
  3. data/Rakefile +37 -0
  4. data/app/assets/javascripts/redmine_extensions/application.js +13 -0
  5. data/app/assets/javascripts/redmine_extensions/ckeditor/CHANGES.md +720 -0
  6. data/app/assets/javascripts/redmine_extensions/ckeditor/LICENSE.md +1264 -0
  7. data/app/assets/javascripts/redmine_extensions/ckeditor/README.md +39 -0
  8. data/app/assets/javascripts/redmine_extensions/ckeditor/adapters/jquery.js +10 -0
  9. data/app/assets/javascripts/redmine_extensions/ckeditor/build-config.js +139 -0
  10. data/app/assets/javascripts/redmine_extensions/ckeditor/ckeditor.js +1097 -0
  11. data/app/assets/javascripts/redmine_extensions/ckeditor/config.js +58 -0
  12. data/app/assets/javascripts/redmine_extensions/ckeditor/contents.css +134 -0
  13. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/cs.js +5 -0
  14. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/da.js +5 -0
  15. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/de.js +5 -0
  16. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/en.js +5 -0
  17. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/es.js +5 -0
  18. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/fi.js +5 -0
  19. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/fr.js +5 -0
  20. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/he.js +5 -0
  21. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/hu.js +5 -0
  22. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/it.js +5 -0
  23. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/ja.js +5 -0
  24. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/ko.js +5 -0
  25. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/nl.js +5 -0
  26. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/no.js +5 -0
  27. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/pl.js +5 -0
  28. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/pt-br.js +5 -0
  29. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/pt.js +5 -0
  30. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/ru.js +5 -0
  31. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/sk.js +5 -0
  32. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/sl.js +5 -0
  33. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/sv.js +5 -0
  34. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/zh-cn.js +5 -0
  35. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/zh.js +5 -0
  36. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +10 -0
  37. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +25 -0
  38. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/af.js +11 -0
  39. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +11 -0
  40. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +11 -0
  41. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +13 -0
  42. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +13 -0
  43. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +11 -0
  44. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +11 -0
  45. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +13 -0
  46. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +13 -0
  47. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/en-gb.js +11 -0
  48. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +11 -0
  49. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +13 -0
  50. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +12 -0
  51. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +11 -0
  52. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +11 -0
  53. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +12 -0
  54. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +12 -0
  55. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +13 -0
  56. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +12 -0
  57. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +11 -0
  58. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +11 -0
  59. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +11 -0
  60. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +11 -0
  61. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +13 -0
  62. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +11 -0
  63. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +13 -0
  64. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +9 -0
  65. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +11 -0
  66. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js +11 -0
  67. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +12 -0
  68. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +11 -0
  69. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +13 -0
  70. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +11 -0
  71. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +11 -0
  72. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +12 -0
  73. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +12 -0
  74. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +11 -0
  75. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +13 -0
  76. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +12 -0
  77. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +12 -0
  78. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +12 -0
  79. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +11 -0
  80. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +10 -0
  81. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +12 -0
  82. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +12 -0
  83. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +11 -0
  84. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +11 -0
  85. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +11 -0
  86. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +12 -0
  87. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +11 -0
  88. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +12 -0
  89. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/tt.js +11 -0
  90. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +11 -0
  91. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +12 -0
  92. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +11 -0
  93. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +9 -0
  94. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js +9 -0
  95. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/about/dialogs/about.js +7 -0
  96. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
  97. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  98. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/base64image/LICENSE.md +1243 -0
  99. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/base64image/README.md +21 -0
  100. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/base64image/dialogs/base64image.js +16 -0
  101. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/clipboard/dialogs/paste.js +11 -0
  102. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/dialogs/codesnippet.js +6 -0
  103. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/CHANGES.md +827 -0
  104. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/LICENSE +24 -0
  105. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/README.md +167 -0
  106. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/README.ru.md +171 -0
  107. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/highlight.pack.js +1 -0
  108. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/arta.css +160 -0
  109. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/ascetic.css +50 -0
  110. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-dune.dark.css +93 -0
  111. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-dune.light.css +93 -0
  112. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-forest.dark.css +93 -0
  113. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-forest.light.css +93 -0
  114. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-heath.dark.css +93 -0
  115. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-heath.light.css +93 -0
  116. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-lakeside.dark.css +93 -0
  117. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-lakeside.light.css +93 -0
  118. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-seaside.dark.css +93 -0
  119. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-seaside.light.css +93 -0
  120. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/brown_paper.css +105 -0
  121. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/brown_papersq.png +0 -0
  122. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/dark.css +105 -0
  123. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/default.css +153 -0
  124. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/docco.css +132 -0
  125. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/far.css +113 -0
  126. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/foundation.css +133 -0
  127. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/github.css +125 -0
  128. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/googlecode.css +147 -0
  129. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/idea.css +122 -0
  130. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/ir_black.css +105 -0
  131. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/magula.css +122 -0
  132. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/mono-blue.css +62 -0
  133. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/monokai.css +127 -0
  134. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/monokai_sublime.css +149 -0
  135. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/obsidian.css +154 -0
  136. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/paraiso.dark.css +93 -0
  137. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/paraiso.light.css +93 -0
  138. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/pojoaque.css +106 -0
  139. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/pojoaque.jpg +0 -0
  140. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/railscasts.css +182 -0
  141. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/rainbow.css +112 -0
  142. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/school_book.css +113 -0
  143. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/school_book.png +0 -0
  144. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/solarized_dark.css +107 -0
  145. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/solarized_light.css +107 -0
  146. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/sunburst.css +160 -0
  147. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/tomorrow-night-blue.css +93 -0
  148. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/tomorrow-night-bright.css +92 -0
  149. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/tomorrow-night-eighties.css +92 -0
  150. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/tomorrow-night.css +93 -0
  151. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/tomorrow.css +90 -0
  152. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/vs.css +89 -0
  153. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/xcode.css +158 -0
  154. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/zenburn.css +116 -0
  155. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/colordialog/dialogs/colordialog.js +13 -0
  156. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
  157. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/div/dialogs/div.js +9 -0
  158. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/find/dialogs/find.js +24 -0
  159. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/flash/dialogs/flash.js +24 -0
  160. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/flash/images/placeholder.png +0 -0
  161. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/forms/dialogs/button.js +8 -0
  162. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/forms/dialogs/checkbox.js +8 -0
  163. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/forms/dialogs/form.js +8 -0
  164. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/forms/dialogs/hiddenfield.js +7 -0
  165. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/forms/dialogs/radio.js +8 -0
  166. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/forms/dialogs/select.js +20 -0
  167. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/forms/dialogs/textarea.js +8 -0
  168. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/forms/dialogs/textfield.js +10 -0
  169. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
  170. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/icons.png +0 -0
  171. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/icons_hidpi.png +0 -0
  172. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/iframe/dialogs/iframe.js +10 -0
  173. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/iframe/images/placeholder.png +0 -0
  174. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/image/dialogs/image.js +43 -0
  175. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/image/images/noimage.png +0 -0
  176. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/link/dialogs/anchor.js +7 -0
  177. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/link/dialogs/link.js +26 -0
  178. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/link/images/anchor.png +0 -0
  179. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/link/images/hidpi/anchor.png +0 -0
  180. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/liststyle/dialogs/liststyle.js +10 -0
  181. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/magicline/images/hidpi/icon-rtl.png +0 -0
  182. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/magicline/images/hidpi/icon.png +0 -0
  183. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/magicline/images/icon-rtl.png +0 -0
  184. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/magicline/images/icon.png +0 -0
  185. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  186. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/pastefromword/filter/default.js +31 -0
  187. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/preview/preview.html +13 -0
  188. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/scayt/LICENSE.md +28 -0
  189. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/scayt/README.md +25 -0
  190. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/scayt/dialogs/options.js +17 -0
  191. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/scayt/dialogs/toolbar.css +71 -0
  192. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  193. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  194. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  195. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  196. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  197. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  198. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  199. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  200. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  201. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  202. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  203. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/dialogs/smiley.js +10 -0
  204. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  205. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/angel_smile.png +0 -0
  206. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  207. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/angry_smile.png +0 -0
  208. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  209. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/broken_heart.png +0 -0
  210. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  211. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/confused_smile.png +0 -0
  212. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  213. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/cry_smile.png +0 -0
  214. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  215. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/devil_smile.png +0 -0
  216. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  217. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/embarrassed_smile.gif +0 -0
  218. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/embarrassed_smile.png +0 -0
  219. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  220. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/envelope.png +0 -0
  221. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/heart.gif +0 -0
  222. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/heart.png +0 -0
  223. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  224. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/kiss.png +0 -0
  225. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  226. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/lightbulb.png +0 -0
  227. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  228. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/omg_smile.png +0 -0
  229. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  230. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/regular_smile.png +0 -0
  231. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  232. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/sad_smile.png +0 -0
  233. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  234. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/shades_smile.png +0 -0
  235. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  236. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/teeth_smile.png +0 -0
  237. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  238. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/thumbs_down.png +0 -0
  239. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  240. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/thumbs_up.png +0 -0
  241. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/tongue_smile.gif +0 -0
  242. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/tongue_smile.png +0 -0
  243. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  244. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  245. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.png +0 -0
  246. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  247. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/wink_smile.png +0 -0
  248. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +20 -0
  249. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/af.js +13 -0
  250. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/ar.js +13 -0
  251. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/bg.js +13 -0
  252. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/ca.js +14 -0
  253. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/cs.js +13 -0
  254. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/cy.js +14 -0
  255. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/da.js +13 -0
  256. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/de.js +13 -0
  257. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/el.js +13 -0
  258. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/en-gb.js +13 -0
  259. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/en.js +13 -0
  260. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/eo.js +12 -0
  261. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/es.js +13 -0
  262. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/et.js +13 -0
  263. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/fa.js +12 -0
  264. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/fi.js +13 -0
  265. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +10 -0
  266. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/fr.js +11 -0
  267. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/gl.js +13 -0
  268. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/he.js +12 -0
  269. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/hr.js +13 -0
  270. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/hu.js +12 -0
  271. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/id.js +13 -0
  272. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/it.js +14 -0
  273. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/ja.js +9 -0
  274. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/km.js +13 -0
  275. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/ku.js +13 -0
  276. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/lt.js +13 -0
  277. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/lv.js +13 -0
  278. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/nb.js +11 -0
  279. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/nl.js +13 -0
  280. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/no.js +11 -0
  281. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/pl.js +12 -0
  282. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +11 -0
  283. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/pt.js +13 -0
  284. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/ru.js +13 -0
  285. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/si.js +13 -0
  286. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/sk.js +13 -0
  287. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/sl.js +12 -0
  288. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/sq.js +13 -0
  289. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/sv.js +11 -0
  290. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/th.js +13 -0
  291. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/tr.js +12 -0
  292. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/tt.js +13 -0
  293. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/ug.js +13 -0
  294. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/uk.js +12 -0
  295. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/vi.js +14 -0
  296. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +9 -0
  297. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/zh.js +12 -0
  298. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/specialchar.js +14 -0
  299. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/table/dialogs/table.js +21 -0
  300. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/tabletools/dialogs/tableCell.js +17 -0
  301. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/templates/dialogs/templates.css +84 -0
  302. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/templates/dialogs/templates.js +10 -0
  303. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/templates/templates/default.js +6 -0
  304. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  305. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  306. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  307. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/widget/images/handle.png +0 -0
  308. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/wsc/LICENSE.md +28 -0
  309. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/wsc/README.md +25 -0
  310. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/wsc/dialogs/ciframe.html +66 -0
  311. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
  312. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/wsc/dialogs/wsc.css +82 -0
  313. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/wsc/dialogs/wsc.js +74 -0
  314. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/wsc/dialogs/wsc_ie.js +11 -0
  315. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/dialog.css +5 -0
  316. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/dialog_ie.css +5 -0
  317. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/dialog_ie7.css +5 -0
  318. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/dialog_ie8.css +5 -0
  319. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/dialog_iequirks.css +5 -0
  320. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/editor.css +5 -0
  321. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/editor_gecko.css +5 -0
  322. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/editor_ie.css +5 -0
  323. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/editor_ie7.css +5 -0
  324. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/editor_ie8.css +5 -0
  325. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/editor_iequirks.css +5 -0
  326. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/icons.png +0 -0
  327. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/icons_hidpi.png +0 -0
  328. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/images/arrow.png +0 -0
  329. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/images/close.png +0 -0
  330. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/images/hidpi/close.png +0 -0
  331. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/images/hidpi/lock-open.png +0 -0
  332. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/images/hidpi/lock.png +0 -0
  333. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/images/hidpi/refresh.png +0 -0
  334. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/images/lock-open.png +0 -0
  335. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/images/lock.png +0 -0
  336. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/images/refresh.png +0 -0
  337. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/readme.md +51 -0
  338. data/app/assets/javascripts/redmine_extensions/ckeditor/styles.js +111 -0
  339. data/app/assets/stylesheets/redmine_extensions/application.css +15 -0
  340. data/app/controllers/redmine_extensions/application_controller.rb +4 -0
  341. data/app/helpers/redmine_extensions/application_helper.rb +4 -0
  342. data/app/models/redmine_extensions/easy_setting.rb +12 -0
  343. data/app/views/layouts/redmine_extensions/application.html.erb +14 -0
  344. data/config/routes.rb +2 -0
  345. data/db/migrate/20150705172511_create_redmine_extensions_easy_settings.rb +11 -0
  346. data/lib/redmine_extensions.rb +6 -0
  347. data/lib/redmine_extensions/engine.rb +21 -0
  348. data/lib/redmine_extensions/html_formatting.rb +7 -0
  349. data/lib/redmine_extensions/html_formatting/formatter.rb +86 -0
  350. data/lib/redmine_extensions/html_formatting/helper.rb +73 -0
  351. data/lib/redmine_extensions/html_formatting/internals.rb +23 -0
  352. data/lib/redmine_extensions/version.rb +3 -0
  353. data/lib/tasks/redmine_extensions_tasks.rake +4 -0
  354. data/spec/dummy/README.rdoc +28 -0
  355. data/spec/dummy/Rakefile +6 -0
  356. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  357. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  358. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  359. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  360. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  361. data/spec/dummy/bin/bundle +3 -0
  362. data/spec/dummy/bin/rails +4 -0
  363. data/spec/dummy/bin/rake +4 -0
  364. data/spec/dummy/bin/setup +29 -0
  365. data/spec/dummy/config.ru +4 -0
  366. data/spec/dummy/config/application.rb +32 -0
  367. data/spec/dummy/config/boot.rb +5 -0
  368. data/spec/dummy/config/database.yml +25 -0
  369. data/spec/dummy/config/environment.rb +5 -0
  370. data/spec/dummy/config/environments/development.rb +41 -0
  371. data/spec/dummy/config/environments/production.rb +79 -0
  372. data/spec/dummy/config/environments/test.rb +42 -0
  373. data/spec/dummy/config/initializers/assets.rb +11 -0
  374. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  375. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  376. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  377. data/spec/dummy/config/initializers/inflections.rb +16 -0
  378. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  379. data/spec/dummy/config/initializers/session_store.rb +3 -0
  380. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  381. data/spec/dummy/config/locales/en.yml +23 -0
  382. data/spec/dummy/config/routes.rb +4 -0
  383. data/spec/dummy/config/secrets.yml +22 -0
  384. data/spec/dummy/public/404.html +67 -0
  385. data/spec/dummy/public/422.html +67 -0
  386. data/spec/dummy/public/500.html +66 -0
  387. data/spec/dummy/public/favicon.ico +0 -0
  388. data/spec/factories/redmine_extensions_easy_settings.rb +8 -0
  389. data/spec/models/redmine_extensions/easy_setting_spec.rb +7 -0
  390. data/spec/rails_helper.rb +53 -0
  391. data/spec/spec_helper.rb +69 -0
  392. metadata +544 -0
@@ -0,0 +1,21 @@
1
+ Base64Image Plugin for CKEditor 4
2
+ =================================
3
+
4
+ Created by ALL-INKL.COM - Neue Medien Münnich - 04. Feb 2014
5
+
6
+ Adds images from local client as base64 string into the source without server
7
+ side processing. You can also add external image urls into the source.
8
+
9
+ ## Requirements
10
+ The Browser must support the JavaScript File API.
11
+
12
+ ## Installation
13
+
14
+ 1. Download the plugin from http://github.com/nmmf/base64image
15
+
16
+ 2. Extract (decompress) the downloaded file into the plugins folder of your
17
+ CKEditor installation.
18
+ Example: http://example.com/ckeditor/plugins/base64image
19
+
20
+ 3. Enable the plugin by using the extraPlugins configuration setting.
21
+ Example: CKEDITOR.config.extraPlugins = "base64image";
@@ -0,0 +1,16 @@
1
+ CKEDITOR.dialog.add("base64imageDialog",function(c){function p(b){if("string"!=typeof b||!b)e.getElement().setHtml("");else{var f=new Image;e.getElement().setHtml("Loading...");f.onload=function(){e.getElement().setHtml("");null==i||null==h?(d.setValueOf("tab-properties","width",this.width),d.setValueOf("tab-properties","height",this.height),j=1,0<this.height&&0<this.width&&(j=this.width/this.height),0>=j&&(j=1)):h=i=null;this.id=c.id+"previewimage";this.setAttribute("style","max-width:400px;max-height:100px;");
2
+ this.setAttribute("alt","");try{var b=e.getElement().$;b&&b.appendChild(this)}catch(f){}};f.onerror=function(){e.getElement().setHtml("")};f.onabort=function(){e.getElement().setHtml("")};f.src=b}}function n(b){e.getElement().setHtml("");if("base64"==b)l&&l.setValue(!1,!0),m&&m.setValue(!1,!0);else if("url"==b)l&&l.setValue(!0,!0),m&&m.setValue(!1,!0),q&&p(q.getValue());else if(r){l&&l.setValue(!1,!0);m&&m.setValue(!0,!0);var f=d.getContentElement("tab-source","file"),b=null;try{b=f.getInputElement().$}catch(a){b=
3
+ null}if(b&&("files"in b&&b.files&&0<b.files.length&&b.files[0])&&(!("type"in b.files[0])||b.files[0].type.match("image.*"))&&FileReader)e.getElement().setHtml("Loading..."),f=new FileReader,f.onload=function(){return function(b){e.getElement().setHtml("");p(b.target.result)}}(b.files[0]),f.onerror=function(){e.getElement().setHtml("")},f.onabort=function(){e.getElement().setHtml("")},f.readAsDataURL(b.files[0])}}function s(b){var f=d.getContentElement("tab-properties","width").getValue(),a=d.getContentElement("tab-properties",
4
+ "height").getValue(),c="px",g="px";0<=f.indexOf("%")&&(c="%");0<=a.indexOf("%")&&(g="%");f=parseInt(f,10);a=parseInt(a,10);isNaN(f)&&(f=0);isNaN(a)&&(a=0);var e="px";"width"==b?("%"==c&&(e="%"),a=Math.round(f/j)):("%"==g&&(e="%"),f=Math.round(a*j));"%"==e&&(f+="%",a+="%");d.getContentElement("tab-properties","width").setValue(f);d.getContentElement("tab-properties","height").setValue(a)}function t(b){var a=b.getValue(),c="";0<=a.indexOf("%")&&(c="%");a=parseInt(a,10);isNaN(a)&&(a=0);b.setValue(a+
5
+ c)}var d=null,a=null,i=null,h=null,e=null,l=null,q=null,m=null,j=1,o=!0,r=function(){var a=!1,c=null;try{FileReader&&(c=document.createElement("input"))&&"files"in c&&(a=!0)}catch(d){a=!1}return a}(),u=r?[{type:"hbox",widths:["70px"],children:[{type:"checkbox",id:"urlcheckbox",style:"margin-top:5px",label:c.lang.common.url+":"},{type:"text",id:"url",label:"",onChange:function(){n("url")}}]},{type:"hbox",widths:["70px"],children:[{type:"checkbox",id:"filecheckbox",style:"margin-top:5px",label:c.lang.common.upload+
6
+ ":"},{type:"file",id:"file",label:"",onChange:function(){n("file")}}]},{type:"html",id:"preview",html:(new CKEDITOR.template('<div style="text-align:center;"></div>')).output()}]:[{type:"text",id:"url",label:c.lang.common.url,onChange:function(){n("url")}},{type:"html",id:"preview",html:(new CKEDITOR.template('<div style="text-align:center;"></div>')).output()}];return{title:c.lang.common.image,minWidth:450,minHeight:180,onLoad:function(){r&&(l=this.getContentElement("tab-source","urlcheckbox"),m=
7
+ this.getContentElement("tab-source","filecheckbox"),l.getInputElement().on("click",function(){n("url")}),m.getInputElement().on("click",function(){n("file")}));q=this.getContentElement("tab-source","url");e=this.getContentElement("tab-source","preview");this.getContentElement("tab-properties","lock").getInputElement().on("click",function(){(o=this.getValue()?true:false)&&s("width")},this.getContentElement("tab-properties","lock"));this.getContentElement("tab-properties","width").getInputElement().on("keyup",
8
+ function(){o&&s("width")});this.getContentElement("tab-properties","height").getInputElement().on("keyup",function(){o&&s("height")});this.getContentElement("tab-properties","vmargin").getInputElement().on("keyup",function(){t(this)},this.getContentElement("tab-properties","vmargin"));this.getContentElement("tab-properties","hmargin").getInputElement().on("keyup",function(){t(this)},this.getContentElement("tab-properties","hmargin"));this.getContentElement("tab-properties","border").getInputElement().on("keyup",
9
+ function(){t(this)},this.getContentElement("tab-properties","border"))},onShow:function(){e.getElement().setHtml("");d=this;h=i=null;j=1;o=!0;(a=c.getSelection())&&(a=a.getSelectedElement());if(!a||"img"!==a.getName())a=null;d.setValueOf("tab-properties","lock",o);d.setValueOf("tab-properties","vmargin","0");d.setValueOf("tab-properties","hmargin","0");d.setValueOf("tab-properties","border","0");d.setValueOf("tab-properties","align","none");if(a){"string"==typeof a.getAttribute("width")&&(i=a.getAttribute("width"));
10
+ "string"==typeof a.getAttribute("height")&&(h=a.getAttribute("height"));if((null==i||null==h)&&a.$)i=a.$.width,h=a.$.height;null!=i&&null!=h&&(d.setValueOf("tab-properties","width",i),d.setValueOf("tab-properties","height",h),i=parseInt(i,10),h=parseInt(h,10),j=1,!isNaN(i)&&(!isNaN(h)&&0<h&&0<i)&&(j=i/h),0>=j&&(j=1));"string"==typeof a.getAttribute("src")&&(0===a.getAttribute("src").indexOf("data:")?(n("base64"),p(a.getAttribute("src"))):d.setValueOf("tab-source","url",a.getAttribute("src")));"string"==
11
+ typeof a.getAttribute("alt")&&d.setValueOf("tab-properties","alt",a.getAttribute("alt"));"string"==typeof a.getAttribute("hspace")&&d.setValueOf("tab-properties","hmargin",a.getAttribute("hspace"));"string"==typeof a.getAttribute("vspace")&&d.setValueOf("tab-properties","vmargin",a.getAttribute("vspace"));"string"==typeof a.getAttribute("border")&&d.setValueOf("tab-properties","border",a.getAttribute("border"));if("string"==typeof a.getAttribute("align"))switch(a.getAttribute("align")){case "top":case "text-top":d.setValueOf("tab-properties",
12
+ "align","top");break;case "baseline":case "bottom":case "text-bottom":d.setValueOf("tab-properties","align","bottom");break;case "left":d.setValueOf("tab-properties","align","left");break;case "right":d.setValueOf("tab-properties","align","right")}d.selectPage("tab-properties")}},onOk:function(){var b="";try{b=CKEDITOR.document.getById(c.id+"previewimage").$.src}catch(f){b=""}if(!("string"!=typeof b||null==b||""===b)){var e=a?a:c.document.createElement("img");e.setAttribute("src",b);e.setAttribute("alt",
13
+ d.getValueOf("tab-properties","alt").replace(/^\s+/,"").replace(/\s+$/,""));var b={width:["width","width:#;","integer",1],height:["height","height:#;","integer",1],vmargin:["vspace","margin-top:#;margin-bottom:#;","integer",0],hmargin:["hspace","margin-left:#;margin-right:#;","integer",0],align:["align",""],border:["border","border:# solid black;","integer",0]},i=[],g,h,j,k;for(k in b){h=j=g=d.getValueOf("tab-properties",k);unit="px";if("align"==k)switch(g){case "top":case "bottom":b[k][1]="vertical-align:#;";
14
+ break;case "left":case "right":b[k][1]="float:#;";break;default:g=null}"integer"==b[k][2]&&(0<=g.indexOf("%")&&(unit="%"),g=parseInt(g,10),isNaN(g)?g=null:g<b[k][3]&&(g=null),null!=g&&("%"==unit?(j=g+"%",h=g+"%"):(j=g,h=g+"px")));null!=g&&(e.setAttribute(b[k][0],j),i.push(b[k][1].replace(/#/g,h)))}0<i.length&&e.setAttribute("style",i.join(""));a||c.insertElement(e);c.plugins.imageresize&&c.plugins.imageresize.resize(c,e,800,800)}},contents:[{id:"tab-source",label:c.lang.common.generalTab,elements:u},
15
+ {id:"tab-properties",label:c.lang.common.advancedTab,elements:[{type:"text",id:"alt",label:c.lang.base64image.alt},{type:"hbox",widths:["15%","15%","70%"],children:[{type:"text",width:"45px",id:"width",label:c.lang.common.width},{type:"text",width:"45px",id:"height",label:c.lang.common.height},{type:"checkbox",id:"lock",label:c.lang.base64image.lockRatio,style:"margin-top:18px;"}]},{type:"hbox",widths:["23%","30%","30%","17%"],style:"margin-top:10px;",children:[{type:"select",id:"align",label:c.lang.common.align,
16
+ items:[[c.lang.common.notSet,"none"],[c.lang.common.alignTop,"top"],[c.lang.common.alignBottom,"bottom"],[c.lang.common.alignLeft,"left"],[c.lang.common.alignRight,"right"]]},{type:"text",width:"45px",id:"vmargin",label:c.lang.base64image.vSpace},{type:"text",width:"45px",id:"hmargin",label:c.lang.base64image.hSpace},{type:"text",width:"45px",id:"border",label:c.lang.base64image.border}]}]}]}});
@@ -0,0 +1,11 @@
1
+ /*
2
+ Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.dialog.add("paste",function(c){function h(a){var b=new CKEDITOR.dom.document(a.document),f=b.getBody(),d=b.getById("cke_actscrpt");d&&d.remove();f.setAttribute("contenteditable",!0);if(CKEDITOR.env.ie&&8>CKEDITOR.env.version)b.getWindow().on("blur",function(){b.$.selection.empty()});b.on("keydown",function(a){var a=a.data,b;switch(a.getKeystroke()){case 27:this.hide();b=1;break;case 9:case CKEDITOR.SHIFT+9:this.changeFocus(1),b=1}b&&a.preventDefault()},this);c.fire("ariaWidget",new CKEDITOR.dom.element(a.frameElement));
6
+ b.getWindow().getFrame().removeCustomData("pendingFocus")&&f.focus()}var e=c.lang.clipboard;c.on("pasteDialogCommit",function(a){a.data&&c.fire("paste",{type:"auto",dataValue:a.data})},null,null,1E3);return{title:e.title,minWidth:CKEDITOR.env.ie&&CKEDITOR.env.quirks?370:350,minHeight:CKEDITOR.env.quirks?250:245,onShow:function(){this.parts.dialog.$.offsetHeight;this.setupContent();this.parts.title.setHtml(this.customTitle||e.title);this.customTitle=null},onLoad:function(){(CKEDITOR.env.ie7Compat||
7
+ CKEDITOR.env.ie6Compat)&&"rtl"==c.lang.dir&&this.parts.contents.setStyle("overflow","hidden")},onOk:function(){this.commitContent()},contents:[{id:"general",label:c.lang.common.generalTab,elements:[{type:"html",id:"securityMsg",html:'<div style="white-space:normal;width:340px">'+e.securityMsg+"</div>"},{type:"html",id:"pasteMsg",html:'<div style="white-space:normal;width:340px">'+e.pasteMsg+"</div>"},{type:"html",id:"editing_area",style:"width:100%;height:100%",html:"",focus:function(){var a=this.getInputElement(),
8
+ b=a.getFrameDocument().getBody();!b||b.isReadOnly()?a.setCustomData("pendingFocus",1):b.focus()},setup:function(){var a=this.getDialog(),b='<html dir="'+c.config.contentsLangDirection+'" lang="'+(c.config.contentsLanguage||c.langCode)+'"><head><style>body{margin:3px;height:95%}</style></head><body><script id="cke_actscrpt" type="text/javascript">window.parent.CKEDITOR.tools.callFunction('+CKEDITOR.tools.addFunction(h,a)+",this);<\/script></body></html>",f=CKEDITOR.env.air?"javascript:void(0)":CKEDITOR.env.ie?
9
+ "javascript:void((function(){"+encodeURIComponent("document.open();("+CKEDITOR.tools.fixDomain+")();document.close();")+'})())"':"",d=CKEDITOR.dom.element.createFromHtml('<iframe class="cke_pasteframe" frameborder="0" allowTransparency="true" src="'+f+'" role="region" aria-label="'+e.pasteArea+'" aria-describedby="'+a.getContentElement("general","pasteMsg").domId+'" aria-multiple="true"></iframe>');d.on("load",function(a){a.removeListener();a=d.getFrameDocument();a.write(b);c.focusManager.add(a.getBody());
10
+ CKEDITOR.env.air&&h.call(this,a.getWindow().$)},a);d.setCustomData("dialog",a);a=this.getElement();a.setHtml("");a.append(d);if(CKEDITOR.env.ie){var g=CKEDITOR.dom.element.createFromHtml('<span tabindex="-1" style="position:absolute" role="presentation"></span>');g.on("focus",function(){setTimeout(function(){d.$.contentWindow.focus()})});a.append(g);this.focus=function(){g.focus();this.fire("focus")}}this.getInputElement=function(){return d};CKEDITOR.env.ie&&(a.setStyle("display","block"),a.setStyle("height",
11
+ d.$.offsetHeight+2+"px"))},commit:function(){var a=this.getDialog().getParentEditor(),b=this.getInputElement().getFrameDocument().getBody(),c=b.getBogus(),d;c&&c.remove();d=b.getHtml();setTimeout(function(){a.fire("pasteDialogCommit",d)},0)}}]}]}});
@@ -0,0 +1,6 @@
1
+ /*
2
+ Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ (function(){CKEDITOR.dialog.add("codeSnippet",function(c){var b=c._.codesnippet.langs,d=c.lang.codesnippet,g=document.documentElement.clientHeight,e=[],f;e.push([c.lang.common.notSet,""]);for(f in b)e.push([b[f],f]);b=CKEDITOR.document.getWindow().getViewPaneSize();c=Math.min(b.width-70,800);b=b.height/1.5;650>g&&(b=g-220);return{title:d.title,minHeight:200,resizable:CKEDITOR.DIALOG_RESIZE_NONE,contents:[{id:"info",elements:[{id:"lang",type:"select",label:d.language,items:e,setup:function(a){a.ready&&
6
+ a.data.lang&&this.setValue(a.data.lang);if(CKEDITOR.env.gecko&&(!a.data.lang||!a.ready))this.getInputElement().$.selectedIndex=-1},commit:function(a){a.setData("lang",this.getValue())}},{id:"code",type:"textarea",label:d.codeContents,setup:function(a){this.setValue(a.data.code)},commit:function(a){a.setData("code",this.getValue())},required:!0,validate:CKEDITOR.dialog.validate.notEmpty(d.emptySnippetError),inputStyle:"cursor:auto;width:"+c+"px;height:"+b+"px;tab-size:4;text-align:left;","class":"cke_source"}]}]}})})();
@@ -0,0 +1,827 @@
1
+ ## Version 8.0 beta
2
+
3
+ This new major release is quite a big overhaul bringing both new features and
4
+ some backwards incompatible changes. However, chances are that the majority of
5
+ users won't be affected by the latter: the basic scenario described in the
6
+ README is left intact.
7
+
8
+ Here's what did change in an incompatible way:
9
+
10
+ - We're now prefixing all classes located in [CSS classes reference][cr] with
11
+ `hljs-`, by default, because some class names would collide with other
12
+ people's stylesheets. If you were using an older version, you might still want
13
+ the previous behavior, but still want to upgrade. To suppress this new
14
+ behavior, you would initialize like so:
15
+
16
+ ```html
17
+ <script type="text/javascript">
18
+ hljs.configure({classPrefix: ''});
19
+ hljs.initHighlightingOnLoad();
20
+ </script>
21
+ ```
22
+
23
+ - `tabReplace` and `useBR` that were used in different places are also unified
24
+ into the global options object and are to be set using `configure(options)`.
25
+ This function is documented in our [API docs][]. Also note that these
26
+ parameters are gone from `highlightBlock` and `fixMarkup` which are now also
27
+ rely on `configure`.
28
+
29
+ - We removed public-facing (though undocumented) object `hljs.LANGUAGES` which
30
+ was used to register languages with the library in favor of two new methods:
31
+ `registerLanguage` and `getLanguage`. Both are documented in our [API docs][].
32
+
33
+ - Result returned from `highlight` and `highlightAuto` no longer contains two
34
+ separate attributes contributing to relevance score, `relevance` and
35
+ `keyword_count`. They are now unified in `relevance`.
36
+
37
+ Another technically compatible change that nonetheless might need attention:
38
+
39
+ - The structure of the NPM package was refactored, so if you had installed it
40
+ locally, you'll have to update your paths. The usual `require('highlight.js')`
41
+ works as before. This is contributed by [Dmitry Smolin][].
42
+
43
+ New features:
44
+
45
+ - Languages now can be recognized by multiple names like "js" for JavaScript or
46
+ "html" for, well, HTML (which earlier insisted on calling it "xml"). These
47
+ aliases can be specified in the class attribute of the code container in your
48
+ HTML as well as in various API calls. For now there are only a few very common
49
+ aliases but we'll expand it in the future. All of them are listed in the
50
+ [class reference][].
51
+
52
+ - Language detection can now be restricted to a subset of languages relevant in
53
+ a given context — a web page or even a single highlighting call. This is
54
+ especially useful for node.js build that includes all the known languages.
55
+ Another example is a StackOverflow-style site where users specify languages
56
+ as tags rather than in the markdown-formatted code snippets. This is
57
+ documented in the [API reference][] (see methods `highlightAuto` and
58
+ `configure`).
59
+
60
+ - Language definition syntax streamlined with [variants][] and
61
+ [beginKeywords][].
62
+
63
+ New languages and styles:
64
+
65
+ - *Oxygene* by [Carlo Kok][]
66
+ - *Mathematica* by [Daniel Kvasnička][]
67
+ - *Autohotkey* by [Seongwon Lee][]
68
+ - *Atelier* family of styles in 10 variants by [Bram de Haan][]
69
+ - *Paraíso* styles by [Jan T. Sott][]
70
+
71
+ Miscelleanous improvements:
72
+
73
+ - Highlighting `=>` prompts in Clojure.
74
+ - [Jeremy Hull][] fixed a lot of styles for consistency.
75
+ - Finally, highlighting PHP and HTML [mixed in peculiar ways][php-html].
76
+ - Objective C and C# now properly highlight titles in method definition.
77
+ - Big overhaul of relevance counting for a number of languages. Please do report
78
+ bugs about mis-detection of non-trivial code snippets!
79
+
80
+ [cr]: http://highlightjs.readthedocs.org/en/latest/css-classes-reference.html
81
+ [api docs]: http://highlightjs.readthedocs.org/en/latest/api.html
82
+ [variants]: https://groups.google.com/d/topic/highlightjs/VoGC9-1p5vk/discussion
83
+ [beginKeywords]: https://github.com/isagalaev/highlight.js/commit/6c7fdea002eb3949577a85b3f7930137c7c3038d
84
+ [php-html]: https://twitter.com/highlightjs/status/408890903017689088
85
+
86
+ [Carlo Kok]: https://github.com/carlokok
87
+ [Bram de Haan]: https://github.com/atelierbram
88
+ [Daniel Kvasnička]: https://github.com/dkvasnicka
89
+ [Dmitry Smolin]: https://github.com/dimsmol
90
+ [Jeremy Hull]: https://github.com/sourrust
91
+ [Seongwon Lee]: https://github.com/dlimpid
92
+ [Jan T. Sott]: https://github.com/idleberg
93
+
94
+
95
+ ## Version 7.5
96
+
97
+ A catch-up release dealing with some of the accumulated contributions. This one
98
+ is probably will be the last before the 8.0 which will be slightly backwards
99
+ incompatible regarding some advanced use-cases.
100
+
101
+ One outstanding change in this version is the addition of 6 languages to the
102
+ [hosted script][d]: Markdown, ObjectiveC, CoffeeScript, Apache, Nginx and
103
+ Makefile. It now weighs about 6K more but we're going to keep it under 30K.
104
+
105
+ New languages:
106
+
107
+ - OCaml by [Mehdi Dogguy][mehdid] and [Nicolas Braud-Santoni][nbraud]
108
+ - [LiveCode Server][lcs] by [Ralf Bitter][revig]
109
+ - Scilab by [Sylvestre Ledru][sylvestre]
110
+ - basic support for Makefile by [Ivan Sagalaev][isagalaev]
111
+
112
+ Improvements:
113
+
114
+ - Ruby's got support for characters like `?A`, `?1`, `?\012` etc. and `%r{..}`
115
+ regexps.
116
+ - Clojure now allows a function call in the beginning of s-expressions
117
+ `(($filter "myCount") (arr 1 2 3 4 5))`.
118
+ - Haskell's got new keywords and now recognizes more things like pragmas,
119
+ preprocessors, modules, containers, FFIs etc. Thanks to [Zena Treep][treep]
120
+ for the implementation and to [Jeremy Hull][sourrust] for guiding it.
121
+ - Miscelleanous fixes in PHP, Brainfuck, SCSS, Asciidoc, CMake, Python and F#.
122
+
123
+ [mehdid]: https://github.com/mehdid
124
+ [nbraud]: https://github.com/nbraud
125
+ [revig]: https://github.com/revig
126
+ [lcs]: http://livecode.com/developers/guides/server/
127
+ [sylvestre]: https://github.com/sylvestre
128
+ [isagalaev]: https://github.com/isagalaev
129
+ [treep]: https://github.com/treep
130
+ [sourrust]: https://github.com/sourrust
131
+ [d]: http://highlightjs.org/download/
132
+
133
+
134
+ ## New core developers
135
+
136
+ The latest long period of almost complete inactivity in the project coincided
137
+ with growing interest to it led to a decision that now seems completely obvious:
138
+ we need more core developers.
139
+
140
+ So without further ado let me welcome to the core team two long-time
141
+ contributors: [Jeremy Hull][] and [Oleg
142
+ Efimov][].
143
+
144
+ Hope now we'll be able to work through stuff faster!
145
+
146
+ P.S. The historical commit is [here][1] for the record.
147
+
148
+ [Jeremy Hull]: https://github.com/sourrust
149
+ [Oleg Efimov]: https://github.com/sannis
150
+ [1]: https://github.com/isagalaev/highlight.js/commit/f3056941bda56d2b72276b97bc0dd5f230f2473f
151
+
152
+
153
+ ## Version 7.4
154
+
155
+ This long overdue version is a snapshot of the current source tree with all the
156
+ changes that happened during the past year. Sorry for taking so long!
157
+
158
+ Along with the changes in code highlight.js has finally got its new home at
159
+ <http://highlightjs.org/>, moving from its craddle on Software Maniacs which it
160
+ outgrew a long time ago. Be sure to report any bugs about the site to
161
+ <mailto:info@highlightjs.org>.
162
+
163
+ On to what's new…
164
+
165
+ New languages:
166
+
167
+ - Handlebars templates by [Robin Ward][]
168
+ - Oracle Rules Language by [Jason Jacobson][]
169
+ - F# by [Joans Follesø][]
170
+ - AsciiDoc and Haml by [Dan Allen][]
171
+ - Lasso by [Eric Knibbe][]
172
+ - SCSS by [Kurt Emch][]
173
+ - VB.NET by [Poren Chiang][]
174
+ - Mizar by [Kelley van Evert][]
175
+
176
+ [Robin Ward]: https://github.com/eviltrout
177
+ [Jason Jacobson]: https://github.com/jayce7
178
+ [Joans Follesø]: https://github.com/follesoe
179
+ [Dan Allen]: https://github.com/mojavelinux
180
+ [Eric Knibbe]: https://github.com/EricFromCanada
181
+ [Kurt Emch]: https://github.com/kemch
182
+ [Poren Chiang]: https://github.com/rschiang
183
+ [Kelley van Evert]: https://github.com/kelleyvanevert
184
+
185
+ New style themes:
186
+
187
+ - Monokai Sublime by [noformnocontent][]
188
+ - Railscasts by [Damien White][]
189
+ - Obsidian by [Alexander Marenin][]
190
+ - Docco by [Simon Madine][]
191
+ - Mono Blue by [Ivan Sagalaev][] (uses a single color hue for everything)
192
+ - Foundation by [Dan Allen][]
193
+
194
+ [noformnocontent]: http://nn.mit-license.org/
195
+ [Damien White]: https://github.com/visoft
196
+ [Alexander Marenin]: https://github.com/ioncreature
197
+ [Simon Madine]: https://github.com/thingsinjars
198
+ [Ivan Sagalaev]: https://github.com/isagalaev
199
+
200
+ Other notable changes:
201
+
202
+ - Corrected many corner cases in CSS.
203
+ - Dropped Python 2 version of the build tool.
204
+ - Implemented building for the AMD format.
205
+ - Updated Rust keywords (thanks to [Dmitry Medvinsky][]).
206
+ - Literal regexes can now be used in language definitions.
207
+ - CoffeeScript highlighting is now significantly more robust and rich due to
208
+ input from [Cédric Néhémie][].
209
+
210
+ [Dmitry Medvinsky]: https://github.com/dmedvinsky
211
+ [Cédric Néhémie]: https://github.com/abe33
212
+
213
+
214
+ ## Version 7.3
215
+
216
+ - Since this version highlight.js no longer works in IE version 8 and older.
217
+ It's made it possible to reduce the library size and dramatically improve code
218
+ readability and made it easier to maintain. Time to go forward!
219
+
220
+ - New languages: AppleScript (by [Nathan Grigg][ng] and [Dr. Drang][dd]) and
221
+ Brainfuck (by [Evgeny Stepanischev][bolk]).
222
+
223
+ - Improvements to existing languages:
224
+
225
+ - interpreter prompt in Python (`>>>` and `...`)
226
+ - @-properties and classes in CoffeeScript
227
+ - E4X in JavaScript (by [Oleg Efimov][oe])
228
+ - new keywords in Perl (by [Kirk Kimmel][kk])
229
+ - big Ruby syntax update (by [Vasily Polovnyov][vast])
230
+ - small fixes in Bash
231
+
232
+ - Also Oleg Efimov did a great job of moving all the docs for language and style
233
+ developers and contributors from the old wiki under the source code in the
234
+ "docs" directory. Now these docs are nicely presented at
235
+ <http://highlightjs.readthedocs.org/>.
236
+
237
+ [ng]: https://github.com/nathan11g
238
+ [dd]: https://github.com/drdrang
239
+ [bolk]: https://github.com/bolknote
240
+ [oe]: https://github.com/Sannis
241
+ [kk]: https://github.com/kimmel
242
+ [vast]: https://github.com/vast
243
+
244
+
245
+ ## Version 7.2
246
+
247
+ A regular bug-fix release without any significant new features. Enjoy!
248
+
249
+
250
+ ## Version 7.1
251
+
252
+ A Summer crop:
253
+
254
+ - [Marc Fornos][mf] made the definition for Clojure along with the matching
255
+ style Rainbow (which, of course, works for other languages too).
256
+ - CoffeeScript support continues to improve getting support for regular
257
+ expressions.
258
+ - Yoshihide Jimbo ported to highlight.js [five Tomorrow styles][tm] from the
259
+ [project by Chris Kempson][tm0].
260
+ - Thanks to [Casey Duncun][cd] the library can now be built in the popular
261
+ [AMD format][amd].
262
+ - And last but not least, we've got a fair number of correctness and consistency
263
+ fixes, including a pretty significant refactoring of Ruby.
264
+
265
+ [mf]: https://github.com/mfornos
266
+ [tm]: http://jmblog.github.com/color-themes-for-highlightjs/
267
+ [tm0]: https://github.com/ChrisKempson/Tomorrow-Theme
268
+ [cd]: https://github.com/caseman
269
+ [amd]: http://requirejs.org/docs/whyamd.html
270
+
271
+
272
+ ## Version 7.0
273
+
274
+ The reason for the new major version update is a global change of keyword syntax
275
+ which resulted in the library getting smaller once again. For example, the
276
+ hosted build is 2K less than at the previous version while supporting two new
277
+ languages.
278
+
279
+ Notable changes:
280
+
281
+ - The library now works not only in a browser but also with [node.js][]. It is
282
+ installable with `npm install highlight.js`. [API][] docs are available on our
283
+ wiki.
284
+
285
+ - The new unique feature (apparently) among syntax highlighters is highlighting
286
+ *HTTP* headers and an arbitrary language in the request body. The most useful
287
+ languages here are *XML* and *JSON* both of which highlight.js does support.
288
+ Here's [the detailed post][p] about the feature.
289
+
290
+ - Two new style themes: a dark "south" *[Pojoaque][]* by Jason Tate and an
291
+ emulation of*XCode* IDE by [Angel Olloqui][ao].
292
+
293
+ - Three new languages: *D* by [Aleksandar Ružičić][ar], *R* by [Joe Cheng][jc]
294
+ and *GLSL* by [Sergey Tikhomirov][st].
295
+
296
+ - *Nginx* syntax has become a million times smaller and more universal thanks to
297
+ remaking it in a more generic manner that doesn't require listing all the
298
+ directives in the known universe.
299
+
300
+ - Function titles are now highlighted in *PHP*.
301
+
302
+ - *Haskell* and *VHDL* were significantly reworked to be more rich and correct
303
+ by their respective maintainers [Jeremy Hull][sr] and [Igor Kalnitsky][ik].
304
+
305
+ And last but not least, many bugs have been fixed around correctness and
306
+ language detection.
307
+
308
+ Overall highlight.js currently supports 51 languages and 20 style themes.
309
+
310
+ [node.js]: http://nodejs.org/
311
+ [api]: http://softwaremaniacs.org/wiki/doku.php/highlight.js:api
312
+ [p]: http://softwaremaniacs.org/blog/2012/05/10/http-and-json-in-highlight-js/en/
313
+ [pojoaque]: http://web-cms-designs.com/ftopict-10-pojoaque-style-for-highlight-js-code-highlighter.html
314
+ [ao]: https://github.com/angelolloqui
315
+ [ar]: https://github.com/raleksandar
316
+ [jc]: https://github.com/jcheng5
317
+ [st]: https://github.com/tikhomirov
318
+ [sr]: https://github.com/sourrust
319
+ [ik]: https://github.com/ikalnitsky
320
+
321
+
322
+ ## Version 6.2
323
+
324
+ A lot of things happened in highlight.js since the last version! We've got nine
325
+ new contributors, the discussion group came alive, and the main branch on GitHub
326
+ now counts more than 350 followers. Here are most significant results coming
327
+ from all this activity:
328
+
329
+ - 5 (five!) new languages: Rust, ActionScript, CoffeeScript, MatLab and
330
+ experimental support for markdown. Thanks go to [Andrey Vlasovskikh][av],
331
+ [Alexander Myadzel][am], [Dmytrii Nagirniak][dn], [Oleg Efimov][oe], [Denis
332
+ Bardadym][db] and [John Crepezzi][jc].
333
+
334
+ - 2 new style themes: Monokai by [Luigi Maselli][lm] and stylistic imitation of
335
+ another well-known highlighter Google Code Prettify by [Aahan Krish][ak].
336
+
337
+ - A vast number of [correctness fixes and code refactorings][log], mostly made
338
+ by [Oleg Efimov][oe] and [Evgeny Stepanischev][es].
339
+
340
+ [av]: https://github.com/vlasovskikh
341
+ [am]: https://github.com/myadzel
342
+ [dn]: https://github.com/dnagir
343
+ [oe]: https://github.com/Sannis
344
+ [db]: https://github.com/btd
345
+ [jc]: https://github.com/seejohnrun
346
+ [lm]: http://grigio.org/
347
+ [ak]: https://github.com/geekpanth3r
348
+ [es]: https://github.com/bolknote
349
+ [log]: https://github.com/isagalaev/highlight.js/commits/
350
+
351
+
352
+ ## Version 6.1 — Solarized
353
+
354
+ [Jeremy Hull][jh] has implemented my dream feature — a port of [Solarized][]
355
+ style theme famous for being based on the intricate color theory to achieve
356
+ correct contrast and color perception. It is now available for highlight.js in
357
+ both variants — light and dark.
358
+
359
+ This version also adds a new original style Arta. Its author pumbur maintains a
360
+ [heavily modified fork of highlight.js][pb] on GitHub.
361
+
362
+ [jh]: https://github.com/sourrust
363
+ [solarized]: http://ethanschoonover.com/solarized
364
+ [pb]: https://github.com/pumbur/highlight.js
365
+
366
+
367
+ ## Version 6.0
368
+
369
+ New major version of the highlighter has been built on a significantly
370
+ refactored syntax. Due to this it's even smaller than the previous one while
371
+ supporting more languages!
372
+
373
+ New languages are:
374
+
375
+ - Haskell by [Jeremy Hull][sourrust]
376
+ - Erlang in two varieties — module and REPL — made collectively by [Nikolay
377
+ Zakharov][desh], [Dmitry Kovega][arhibot] and [Sergey Ignatov][ignatov]
378
+ - Objective C by [Valerii Hiora][vhbit]
379
+ - Vala by [Antono Vasiljev][antono]
380
+ - Go by [Stephan Kountso][steplg]
381
+
382
+ [sourrust]: https://github.com/sourrust
383
+ [desh]: http://desh.su/
384
+ [arhibot]: https://github.com/arhibot
385
+ [ignatov]: https://github.com/ignatov
386
+ [vhbit]: https://github.com/vhbit
387
+ [antono]: https://github.com/antono
388
+ [steplg]: https://github.com/steplg
389
+
390
+ Also this version is marginally faster and fixes a number of small long-standing
391
+ bugs.
392
+
393
+ Developer overview of the new language syntax is available in a [blog post about
394
+ recent beta release][beta].
395
+
396
+ [beta]: http://softwaremaniacs.org/blog/2011/04/25/highlight-js-60-beta/en/
397
+
398
+ P.S. New version is not yet available on a Yandex' CDN, so for now you have to
399
+ download [your own copy][d].
400
+
401
+ [d]: /soft/highlight/en/download/
402
+
403
+
404
+ ## Version 5.14
405
+
406
+ Fixed bugs in HTML/XML detection and relevance introduced in previous
407
+ refactoring.
408
+
409
+ Also test.html now shows the second best result of language detection by
410
+ relevance.
411
+
412
+
413
+ ## Version 5.13
414
+
415
+ Past weekend began with a couple of simple additions for existing languages but
416
+ ended up in a big code refactoring bringing along nice improvements for language
417
+ developers.
418
+
419
+ ### For users
420
+
421
+ - Description of C++ has got new keywords from the upcoming [C++ 0x][] standard.
422
+ - Description of HTML has got new tags from [HTML 5][].
423
+ - CSS-styles have been unified to use consistent padding and also have lost
424
+ pop-outs with names of detected languages.
425
+ - [Igor Kalnitsky][ik] has sent two new language descriptions: CMake и VHDL.
426
+
427
+ This makes total number of languages supported by highlight.js to reach 35.
428
+
429
+ Bug fixes:
430
+
431
+ - Custom classes on `<pre>` tags are not being overridden anymore
432
+ - More correct highlighting of code blocks inside non-`<pre>` containers:
433
+ highlighter now doesn't insist on replacing them with its own container and
434
+ just replaces the contents.
435
+ - Small fixes in browser compatibility and heuristics.
436
+
437
+ [c++ 0x]: http://ru.wikipedia.org/wiki/C%2B%2B0x
438
+ [html 5]: http://en.wikipedia.org/wiki/HTML5
439
+ [ik]: http://kalnitsky.org.ua/
440
+
441
+ ### For developers
442
+
443
+ The most significant change is the ability to include language submodes right
444
+ under `contains` instead of defining explicit named submodes in the main array:
445
+
446
+ contains: [
447
+ 'string',
448
+ 'number',
449
+ {begin: '\\n', end: hljs.IMMEDIATE_RE}
450
+ ]
451
+
452
+ This is useful for auxiliary modes needed only in one place to define parsing.
453
+ Note that such modes often don't have `className` and hence won't generate a
454
+ separate `<span>` in the resulting markup. This is similar in effect to
455
+ `noMarkup: true`. All existing languages have been refactored accordingly.
456
+
457
+ Test file test.html has at last become a real test. Now it not only puts the
458
+ detected language name under the code snippet but also tests if it matches the
459
+ expected one. Test summary is displayed right above all language snippets.
460
+
461
+
462
+ ## CDN
463
+
464
+ Fine people at [Yandex][] agreed to host highlight.js on their big fast servers.
465
+ [Link up][l]!
466
+
467
+ [yandex]: http://yandex.com/
468
+ [l]: http://softwaremaniacs.org/soft/highlight/en/download/
469
+
470
+
471
+ ## Version 5.10 — "Paris".
472
+
473
+ Though I'm on a vacation in Paris, I decided to release a new version with a
474
+ couple of small fixes:
475
+
476
+ - Tomas Vitvar discovered that TAB replacement doesn't always work when used
477
+ with custom markup in code
478
+ - SQL parsing is even more rigid now and doesn't step over SmallTalk in tests
479
+
480
+
481
+ ## Version 5.9
482
+
483
+ A long-awaited version is finally released.
484
+
485
+ New languages:
486
+
487
+ - Andrew Fedorov made a definition for Lua
488
+ - a long-time highlight.js contributor [Peter Leonov][pl] made a definition for
489
+ Nginx config
490
+ - [Vladimir Moskva][vm] made a definition for TeX
491
+
492
+ [pl]: http://kung-fu-tzu.ru/
493
+ [vm]: http://fulc.ru/
494
+
495
+ Fixes for existing languages:
496
+
497
+ - [Loren Segal][ls] reworked the Ruby definition and added highlighting for
498
+ [YARD][] inline documentation
499
+ - the definition of SQL has become more solid and now it shouldn't be overly
500
+ greedy when it comes to language detection
501
+
502
+ [ls]: http://gnuu.org/
503
+ [yard]: http://yardoc.org/
504
+
505
+ The highlighter has become more usable as a library allowing to do highlighting
506
+ from initialization code of JS frameworks and in ajax methods (see.
507
+ readme.eng.txt).
508
+
509
+ Also this version drops support for the [WordPress][wp] plugin. Everyone is
510
+ welcome to [pick up its maintenance][p] if needed.
511
+
512
+ [wp]: http://wordpress.org/
513
+ [p]: http://bazaar.launchpad.net/~isagalaev/+junk/highlight/annotate/342/src/wp_highlight.js.php
514
+
515
+
516
+ ## Version 5.8
517
+
518
+ - Jan Berkel has contributed a definition for Scala. +1 to hotness!
519
+ - All CSS-styles are rewritten to work only inside `<pre>` tags to avoid
520
+ conflicts with host site styles.
521
+
522
+
523
+ ## Version 5.7.
524
+
525
+ Fixed escaping of quotes in VBScript strings.
526
+
527
+
528
+ ## Version 5.5
529
+
530
+ This version brings a small change: now .ini-files allow digits, underscores and
531
+ square brackets in key names.
532
+
533
+
534
+ ## Version 5.4
535
+
536
+ Fixed small but upsetting bug in the packer which caused incorrect highlighting
537
+ of explicitly specified languages. Thanks to Andrew Fedorov for precise
538
+ diagnostics!
539
+
540
+
541
+ ## Version 5.3
542
+
543
+ The version to fulfil old promises.
544
+
545
+ The most significant change is that highlight.js now preserves custom user
546
+ markup in code along with its own highlighting markup. This means that now it's
547
+ possible to use, say, links in code. Thanks to [Vladimir Dolzhenko][vd] for the
548
+ [initial proposal][1] and for making a proof-of-concept patch.
549
+
550
+ Also in this version:
551
+
552
+ - [Vasily Polovnyov][vp] has sent a GitHub-like style and has implemented
553
+ support for CSS @-rules and Ruby symbols.
554
+ - Yura Zaripov has sent two styles: Brown Paper and School Book.
555
+ - Oleg Volchkov has sent a definition for [Parser 3][p3].
556
+
557
+ [1]: http://softwaremaniacs.org/forum/highlightjs/6612/
558
+ [p3]: http://www.parser.ru/
559
+ [vp]: http://vasily.polovnyov.ru/
560
+ [vd]: http://dolzhenko.blogspot.com/
561
+
562
+
563
+ ## Version 5.2
564
+
565
+ - at last it's possible to replace indentation TABs with something sensible (e.g. 2 or 4 spaces)
566
+ - new keywords and built-ins for 1C by Sergey Baranov
567
+ - a couple of small fixes to Apache highlighting
568
+
569
+
570
+ ## Version 5.1
571
+
572
+ This is one of those nice version consisting entirely of new and shiny
573
+ contributions!
574
+
575
+ - [Vladimir Ermakov][vooon] created highlighting for AVR Assembler
576
+ - [Ruslan Keba][rukeba] created highlighting for Apache config file. Also his
577
+ original visual style for it is now available for all highlight.js languages
578
+ under the name "Magula".
579
+ - [Shuen-Huei Guan][drake] (aka Drake) sent new keywords for RenderMan
580
+ languages. Also thanks go to [Konstantin Evdokimenko][ke] for his advice on
581
+ the matter.
582
+
583
+ [vooon]: http://vehq.ru/about/
584
+ [rukeba]: http://rukeba.com/
585
+ [drake]: http://drakeguan.org/
586
+ [ke]: http://k-evdokimenko.moikrug.ru/
587
+
588
+
589
+ ## Version 5.0
590
+
591
+ The main change in the new major version of highlight.js is a mechanism for
592
+ packing several languages along with the library itself into a single compressed
593
+ file. Now sites using several languages will load considerably faster because
594
+ the library won't dynamically include additional files while loading.
595
+
596
+ Also this version fixes a long-standing bug with Javascript highlighting that
597
+ couldn't distinguish between regular expressions and division operations.
598
+
599
+ And as usually there were a couple of minor correctness fixes.
600
+
601
+ Great thanks to all contributors! Keep using highlight.js.
602
+
603
+
604
+ ## Version 4.3
605
+
606
+ This version comes with two contributions from [Jason Diamond][jd]:
607
+
608
+ - language definition for C# (yes! it was a long-missed thing!)
609
+ - Visual Studio-like highlighting style
610
+
611
+ Plus there are a couple of minor bug fixes for parsing HTML and XML attributes.
612
+
613
+ [jd]: http://jason.diamond.name/weblog/
614
+
615
+
616
+ ## Version 4.2
617
+
618
+ The biggest news is highlighting for Lisp, courtesy of Vasily Polovnyov. It's
619
+ somewhat experimental meaning that for highlighting "keywords" it doesn't use
620
+ any pre-defined set of a Lisp dialect. Instead it tries to highlight first word
621
+ in parentheses wherever it makes sense. I'd like to ask people programming in
622
+ Lisp to confirm if it's a good idea and send feedback to [the forum][f].
623
+
624
+ Other changes:
625
+
626
+ - Smalltalk was excluded from DEFAULT_LANGUAGES to save traffic
627
+ - [Vladimir Epifanov][voldmar] has implemented javascript style switcher for
628
+ test.html
629
+ - comments now allowed inside Ruby function definition
630
+ - [MEL][] language from [Shuen-Huei Guan][drake]
631
+ - whitespace now allowed between `<pre>` and `<code>`
632
+ - better auto-detection of C++ and PHP
633
+ - HTML allows embedded VBScript (`<% .. %>`)
634
+
635
+ [f]: http://softwaremaniacs.org/forum/highlightjs/
636
+ [voldmar]: http://voldmar.ya.ru/
637
+ [mel]: http://en.wikipedia.org/wiki/Maya_Embedded_Language
638
+ [drake]: http://drakeguan.org/
639
+
640
+
641
+ ## Version 4.1
642
+
643
+ Languages:
644
+
645
+ - Bash from Vah
646
+ - DOS bat-files from Alexander Makarov (Sam)
647
+ - Diff files from Vasily Polovnyov
648
+ - Ini files from myself though initial idea was from Sam
649
+
650
+ Styles:
651
+
652
+ - Zenburn from Vladimir Epifanov, this is an imitation of a
653
+ [well-known theme for Vim][zenburn].
654
+ - Ascetic from myself, as a realization of ideals of non-flashy highlighting:
655
+ just one color in only three gradations :-)
656
+
657
+ In other news. [One small bug][bug] was fixed, built-in keywords were added for
658
+ Python and C++ which improved auto-detection for the latter (it was shame that
659
+ [my wife's blog][alenacpp] had issues with it from time to time). And lastly
660
+ thanks go to Sam for getting rid of my stylistic comments in code that were
661
+ getting in the way of [JSMin][].
662
+
663
+ [zenburn]: http://en.wikipedia.org/wiki/Zenburn
664
+ [alenacpp]: http://alenacpp.blogspot.com/
665
+ [bug]: http://softwaremaniacs.org/forum/viewtopic.php?id=1823
666
+ [jsmin]: http://code.google.com/p/jsmin-php/
667
+
668
+
669
+ ## Version 4.0
670
+
671
+ New major version is a result of vast refactoring and of many contributions.
672
+
673
+ Visible new features:
674
+
675
+ - Highlighting of embedded languages. Currently is implemented highlighting of
676
+ Javascript and CSS inside HTML.
677
+ - Bundled 5 ready-made style themes!
678
+
679
+ Invisible new features:
680
+
681
+ - Highlight.js no longer pollutes global namespace. Only one object and one
682
+ function for backward compatibility.
683
+ - Performance is further increased by about 15%.
684
+
685
+ Changing of a major version number caused by a new format of language definition
686
+ files. If you use some third-party language files they should be updated.
687
+
688
+
689
+ ## Version 3.5
690
+
691
+ A very nice version in my opinion fixing a number of small bugs and slightly
692
+ increased speed in a couple of corner cases. Thanks to everybody who reports
693
+ bugs in he [forum][f] and by email!
694
+
695
+ There is also a new language — XML. A custom XML formerly was detected as HTML
696
+ and didn't highlight custom tags. In this version I tried to make custom XML to
697
+ be detected and highlighted by its own rules. Which by the way include such
698
+ things as CDATA sections and processing instructions (`<? ... ?>`).
699
+
700
+ [f]: http://softwaremaniacs.org/forum/viewforum.php?id=6
701
+
702
+
703
+ ## Version 3.3
704
+
705
+ [Vladimir Gubarkov][xonix] has provided an interesting and useful addition.
706
+ File export.html contains a little program that shows and allows to copy and
707
+ paste an HTML code generated by the highlighter for any code snippet. This can
708
+ be useful in situations when one can't use the script itself on a site.
709
+
710
+
711
+ [xonix]: http://xonixx.blogspot.com/
712
+
713
+
714
+ ## Version 3.2 consists completely of contributions:
715
+
716
+ - Vladimir Gubarkov has described SmallTalk
717
+ - Yuri Ivanov has described 1C
718
+ - Peter Leonov has packaged the highlighter as a Firefox extension
719
+ - Vladimir Ermakov has compiled a mod for phpBB
720
+
721
+ Many thanks to you all!
722
+
723
+
724
+ ## Version 3.1
725
+
726
+ Three new languages are available: Django templates, SQL and Axapta. The latter
727
+ two are sent by [Dmitri Roudakov][1]. However I've almost entirely rewrote an
728
+ SQL definition but I'd never started it be it from the ground up :-)
729
+
730
+ The engine itself has got a long awaited feature of grouping keywords
731
+ ("keyword", "built-in function", "literal"). No more hacks!
732
+
733
+ [1]: http://roudakov.ru/
734
+
735
+
736
+ ## Version 3.0
737
+
738
+ It is major mainly because now highlight.js has grown large and has become
739
+ modular. Now when you pass it a list of languages to highlight it will
740
+ dynamically load into a browser only those languages.
741
+
742
+ Also:
743
+
744
+ - Konstantin Evdokimenko of [RibKit][] project has created a highlighting for
745
+ RenderMan Shading Language and RenderMan Interface Bytestream. Yay for more
746
+ languages!
747
+ - Heuristics for C++ and HTML got better.
748
+ - I've implemented (at last) a correct handling of backslash escapes in C-like
749
+ languages.
750
+
751
+ There is also a small backwards incompatible change in the new version. The
752
+ function initHighlighting that was used to initialize highlighting instead of
753
+ initHighlightingOnLoad a long time ago no longer works. If you by chance still
754
+ use it — replace it with the new one.
755
+
756
+ [RibKit]: http://ribkit.sourceforge.net/
757
+
758
+
759
+ ## Version 2.9
760
+
761
+ Highlight.js is a parser, not just a couple of regular expressions. That said
762
+ I'm glad to announce that in the new version 2.9 has support for:
763
+
764
+ - in-string substitutions for Ruby -- `#{...}`
765
+ - strings from from numeric symbol codes (like #XX) for Delphi
766
+
767
+
768
+ ## Version 2.8
769
+
770
+ A maintenance release with more tuned heuristics. Fully backwards compatible.
771
+
772
+
773
+ ## Version 2.7
774
+
775
+ - Nikita Ledyaev presents highlighting for VBScript, yay!
776
+ - A couple of bugs with escaping in strings were fixed thanks to Mickle
777
+ - Ongoing tuning of heuristics
778
+
779
+ Fixed bugs were rather unpleasant so I encourage everyone to upgrade!
780
+
781
+
782
+ ## Version 2.4
783
+
784
+ - Peter Leonov provides another improved highlighting for Perl
785
+ - Javascript gets a new kind of keywords — "literals". These are the words
786
+ "true", "false" and "null"
787
+
788
+ Also highlight.js homepage now lists sites that use the library. Feel free to
789
+ add your site by [dropping me a message][mail] until I find the time to build a
790
+ submit form.
791
+
792
+ [mail]: mailto:Maniac@SoftwareManiacs.Org
793
+
794
+
795
+ ## Version 2.3
796
+
797
+ This version fixes IE breakage in previous version. My apologies to all who have
798
+ already downloaded that one!
799
+
800
+
801
+ ## Version 2.2
802
+
803
+ - added highlighting for Javascript
804
+ - at last fixed parsing of Delphi's escaped apostrophes in strings
805
+ - in Ruby fixed highlighting of keywords 'def' and 'class', same for 'sub' in
806
+ Perl
807
+
808
+
809
+ ## Version 2.0
810
+
811
+ - Ruby support by [Anton Kovalyov][ak]
812
+ - speed increased by orders of magnitude due to new way of parsing
813
+ - this same way allows now correct highlighting of keywords in some tricky
814
+ places (like keyword "End" at the end of Delphi classes)
815
+
816
+ [ak]: http://anton.kovalyov.net/
817
+
818
+
819
+ ## Version 1.0
820
+
821
+ Version 1.0 of javascript syntax highlighter is released!
822
+
823
+ It's the first version available with English description. Feel free to post
824
+ your comments and question to [highlight.js forum][forum]. And don't be afraid
825
+ if you find there some fancy Cyrillic letters -- it's for Russian users too :-)
826
+
827
+ [forum]: http://softwaremaniacs.org/forum/viewforum.php?id=6