Permalink
Browse files

first commit.

  • Loading branch information...
0 parents commit c8e56e05b168696c86eee33a952e27f30abd3a16 @chloerei committed Nov 30, 2011
Showing with 6,530 additions and 0 deletions.
  1. +19 −0 .gitignore
  2. +46 −0 AUTHORS.en.txt
  3. +46 −0 AUTHORS.ru.txt
  4. +4 −0 Gemfile
  5. +24 −0 LICENSE
  6. +18 −0 README.md
  7. +2 −0 Rakefile
  8. +437 −0 classref.txt
  9. +19 −0 highlight_js-rails.gemspec
  10. +2 −0 lib/highlight_js-rails.rb
  11. +6 −0 lib/highlight_js/rails/engine.rb
  12. +5 −0 lib/highlight_js/version.rb
  13. BIN vendor/assets/images/highlight_js/brown_papersq.png
  14. BIN vendor/assets/images/highlight_js/school_book.png
  15. +630 −0 vendor/assets/javascripts/highlight_js/highlight.js
  16. +68 −0 vendor/assets/javascripts/highlight_js/languages/1c.js
  17. +432 −0 vendor/assets/javascripts/highlight_js/languages/apache.js
  18. +75 −0 vendor/assets/javascripts/highlight_js/languages/avrasm.js
  19. +43 −0 vendor/assets/javascripts/highlight_js/languages/axapta.js
  20. +56 −0 vendor/assets/javascripts/highlight_js/languages/bash.js
  21. +24 −0 vendor/assets/javascripts/highlight_js/languages/cmake.js
  22. +62 −0 vendor/assets/javascripts/highlight_js/languages/cpp.js
  23. +41 −0 vendor/assets/javascripts/highlight_js/languages/cs.js
  24. +101 −0 vendor/assets/javascripts/highlight_js/languages/css.js
  25. +70 −0 vendor/assets/javascripts/highlight_js/languages/delphi.js
  26. +64 −0 vendor/assets/javascripts/highlight_js/languages/diff.js
  27. +72 −0 vendor/assets/javascripts/highlight_js/languages/django.js
  28. +29 −0 vendor/assets/javascripts/highlight_js/languages/dos.js
  29. +81 −0 vendor/assets/javascripts/highlight_js/languages/erlang-repl.js
  30. +201 −0 vendor/assets/javascripts/highlight_js/languages/erlang.js
  31. +58 −0 vendor/assets/javascripts/highlight_js/languages/go.js
  32. +77 −0 vendor/assets/javascripts/highlight_js/languages/haskell.js
  33. +32 −0 vendor/assets/javascripts/highlight_js/languages/ini.js
  34. +45 −0 vendor/assets/javascripts/highlight_js/languages/java.js
  35. +53 −0 vendor/assets/javascripts/highlight_js/languages/javascript.js
  36. +87 −0 vendor/assets/javascripts/highlight_js/languages/lisp.js
  37. +75 −0 vendor/assets/javascripts/highlight_js/languages/lua.js
  38. +40 −0 vendor/assets/javascripts/highlight_js/languages/mel.js
  39. +224 −0 vendor/assets/javascripts/highlight_js/languages/nginx.js
  40. +94 −0 vendor/assets/javascripts/highlight_js/languages/objectivec.js
  41. +52 −0 vendor/assets/javascripts/highlight_js/languages/parser3.js
  42. +143 −0 vendor/assets/javascripts/highlight_js/languages/perl.js
  43. +55 −0 vendor/assets/javascripts/highlight_js/languages/php.js
  44. +49 −0 vendor/assets/javascripts/highlight_js/languages/profile.js
  45. +71 −0 vendor/assets/javascripts/highlight_js/languages/python.js
  46. +230 −0 vendor/assets/javascripts/highlight_js/languages/renderman.js
  47. +203 −0 vendor/assets/javascripts/highlight_js/languages/ruby.js
  48. +60 −0 vendor/assets/javascripts/highlight_js/languages/scala.js
  49. +55 −0 vendor/assets/javascripts/highlight_js/languages/smalltalk.js
  50. +90 −0 vendor/assets/javascripts/highlight_js/languages/sql.js
  51. +62 −0 vendor/assets/javascripts/highlight_js/languages/tex.js
  52. +75 −0 vendor/assets/javascripts/highlight_js/languages/vala.js
  53. +30 −0 vendor/assets/javascripts/highlight_js/languages/vbscript.js
  54. +30 −0 vendor/assets/javascripts/highlight_js/languages/vhdl.js
  55. +103 −0 vendor/assets/javascripts/highlight_js/languages/xml.js
  56. +151 −0 vendor/assets/stylesheets/highlight_js/arta.css
  57. +45 −0 vendor/assets/stylesheets/highlight_js/ascetic.css
  58. +105 −0 vendor/assets/stylesheets/highlight_js/brown_paper.css.erb
  59. +103 −0 vendor/assets/stylesheets/highlight_js/dark.css
  60. +121 −0 vendor/assets/stylesheets/highlight_js/default.css
  61. +118 −0 vendor/assets/stylesheets/highlight_js/far.css
  62. +129 −0 vendor/assets/stylesheets/highlight_js/github.css
  63. +118 −0 vendor/assets/stylesheets/highlight_js/idea.css
  64. +103 −0 vendor/assets/stylesheets/highlight_js/ir_black.css
  65. +118 −0 vendor/assets/stylesheets/highlight_js/magula.css
  66. +111 −0 vendor/assets/stylesheets/highlight_js/school_book.css.erb
  67. +96 −0 vendor/assets/stylesheets/highlight_js/solarized_dark.css
  68. +96 −0 vendor/assets/stylesheets/highlight_js/solarized_light.css
  69. +147 −0 vendor/assets/stylesheets/highlight_js/sunburst.css
  70. +84 −0 vendor/assets/stylesheets/highlight_js/vs.css
  71. +115 −0 vendor/assets/stylesheets/highlight_js/zenburn.css
@@ -0,0 +1,19 @@
+*.gem
+*.rbc
+.bundle
+.config
+.yardoc
+Gemfile.lock
+InstalledFiles
+_yardoc
+coverage
+doc/
+lib/bundler/man
+pkg
+rdoc
+spec/reports
+test/tmp
+test/version_tmp
+tmp
+.*.swp
+.*.swo
@@ -0,0 +1,46 @@
+Syntax highlighting with language autodetection.
+
+URL: http://softwaremaniacs.org/soft/highlight/en/
+
+Original author and current maintainer:
+Ivan Sagalaev <maniac@softwaremaniacs.org>
+
+Contributors:
+
+- Peter Leonov <gojpeg@gmail.com>
+- Victor Karamzin <Victor.Karamzin@enterra-inc.com>
+- Vsevolod Solovyov <vsevolod.solovyov@gmail.com>
+- Anton Kovalyov <anton@kovalyov.net>
+- Nikita Ledyaev <lenikita@yandex.ru>
+- Konstantin Evdokimenko <qewerty@gmail.com>
+- Dmitri Roudakov <dmitri@roudakov.ru>
+- Yuri Ivanov <ivanov@supersoft.ru>
+- Vladimir Ermakov <vooon341@mail.ru>
+- Vladimir Gubarkov <xonixx@gmail.com>
+- Brian Beck <exogen@gmail.com>
+- MajestiC <majestic2k@gmail.com>
+- Vasily Polovnyov <vast@whiteants.net>
+- Vladimir Epifanov <voldmar@voldmar.ru>
+- Alexander Makarov (http://rmcreative.ru/)
+- Vah <vahtenberg@gmail.com>
+- Shuen-Huei Guan <drake.guan@gmail.com>
+- Jason Diamond <jason@diamond.name>
+- Michal Gabrukiewicz <mgabru@gmail.com>
+- Ruslan Keba <rukeba@gmail.com>
+- Sergey Baranov <segyrn@yandex.ru>
+- Zaripov Yura <yur4ik7@ukr.net>
+- Oleg Volchkov <oleg@volchkov.net>
+- Vasily Mikhailitchenko <vaskas@programica.ru>
+- Jan Berkel <jan.berkel@gmail.com>
+- Vladimir Moskva <vladmos@gmail.com>
+- Loren Segal <lsegal@soen.ca>
+- Andrew Fedorov <dmmdrs@mail.ru>
+- Igor Kalnitsky <igor.kalnitsky@gmail.com>
+- Jeremy Hull <sourdrums@gmail.com>
+- Valerii Hiora <valerii.hiora@gmail.com>
+- Nikolay Zakharov <nikolay.desh@gmail.com>
+- Dmitry Kovega <arhibot@gmail.com>
+- Sergey Ignatov <sergey@ignatov.spb.su>
+- Antono Vasiljev <self@antono.info>
+- Stephan Kountso <steplg@gmail.com>
+- pumbur <pumbur@pumbur.net>
@@ -0,0 +1,46 @@
+Подсветка синтаксиса с автоопределением языка.
+
+URL: http://softwaremaniacs.org/soft/highlight/
+
+Первоначальный автор и ведущий проекта:
+Иван Сагалаев <maniac@softwaremaniacs.org>
+
+Внесли свой вклад:
+
+- Петр Леонов <gojpeg@gmail.com>
+- Виктор Карамзин <Victor.Karamzin@enterra-inc.com>
+- Всеволод Соловьёв <vsevolod.solovyov@gmail.com>
+- Антон Ковалёв <anton@kovalyov.net>
+- Никита Ледяев <lenikita@yandex.ru>
+- Константин Евдокименко <qewerty@gmail.com>
+- Дмитрий Рудаков <dmitri@roudakov.ru>
+- Юрий Иванов <ivanov@supersoft.ru>
+- Владимир Ермаков <vooon341@mail.ru>
+- Владимир Губарьков <xonixx@gmail.com>
+- Брайан Бек <exogen@gmail.com>
+- MajestiC <majestic2k@gmail.com>
+- Василий Половнёв <vast@whiteants.net>
+- Владимир Епифанов <voldmar@voldmar.ru>
+- Александр Макаров (http://rmcreative.ru/)
+- Vah <vahtenberg@gmail.com>
+- Шуэн-Хуэй Гуан <drake.guan@gmail.com>
+- Джейсон Даймонд <jason@diamond.name>
+- Михал Габрукевич <mgabru@gmail.com>
+- Руслан Кеба <rukeba@gmail.com>
+- Сергей Баранов <segyrn@yandex.ru>
+- Зарипов Юра <yur4ik7@ukr.net>
+- Олег Волчков <oleg@volchkov.net>
+- Василий Михайличенко <vaskas@programica.ru>
+- Ян Беркель <jan.berkel@gmail.com>
+- Владимир Москва <vladmos@gmail.com>
+- Лорен Сегал <lsegal@soen.ca>
+- Андрей Фёдоров <dmmdrs@mail.ru>
+- Игорь Кальницкий <igor.kalnitsky@gmail.com>
+- Джереми Халл <sourdrums@gmail.com>
+- Валерий Хиора <valerii.hiora@gmail.com>
+- Николай Захаров <nikolay.desh@gmail.com>
+- Дмитрий Ковега <arhibot@gmail.com>
+- Сергей Игнатов <sergey@ignatov.spb.su>
+- Антоно Васильев <self@antono.info>
+- Степан Кунцьо <steplg@gmail.com>
+- pumbur <pumbur@pumbur.net>
@@ -0,0 +1,4 @@
+source 'http://rubygems.org'
+
+# Specify your gem's dependencies in highlight_js-rails.gemspec
+gemspec
@@ -0,0 +1,24 @@
+Copyright (c) 2006, Ivan Sagalaev
+All rights reserved.
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ * Neither the name of highlight.js nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,18 @@
+# WMD Editor for rails 3.1
+
+Rails pipeline wraper for highlight.js http://softwaremaniacs.org/soft/highlight/en/
+
+## Usage
+
+application.js
+
+```javascript
+//= require highlight_js/highlight
+//= require highlight_js/languages/ruby
+
+hljs.initHighlightingOnLoad();
+```
+
+```css
+*= require highlight_js/github
+```
@@ -0,0 +1,2 @@
+#!/usr/bin/env rake
+require "bundler/gem_tasks"
Oops, something went wrong.

0 comments on commit c8e56e0

Please sign in to comment.