You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by er...@apache.org on 2010/10/23 00:45:14 UTC
svn commit: r1026521 [4/5] - in /servicemix/sandbox/website20: ./ src/
src/main/ src/main/resources/ src/main/scala/ src/main/scala/scalate/
src/main/webapp/ src/main/webapp/WEB-INF/ src/main/webapp/WEB-INF/scalate/
src/main/webapp/WEB-INF/scalate/layo...
Added: servicemix/sandbox/website20/src/main/webapp/highlight/languages/scala.js
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/highlight/languages/scala.js?rev=1026521&view=auto
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/highlight/languages/scala.js (added)
+++ servicemix/sandbox/website20/src/main/webapp/highlight/languages/scala.js Fri Oct 22 22:45:11 2010
@@ -0,0 +1,63 @@
+/*
+Language: Scala
+Author: Jan Berkel <ja...@gmail.com>
+*/
+
+hljs.LANGUAGES.scala = {
+ defaultMode: {
+ lexems: [hljs.UNDERSCORE_IDENT_RE],
+ contains: ['javadoc', 'comment', 'string', 'class', 'number', 'annotation'],
+ keywords: { 'type': 1, 'yield': 1, 'lazy': 1, 'override': 1, 'def': 1, 'with': 1, 'val':1, 'var': 1, 'false': 1, 'true': 1, 'sealed': 1, 'abstract': 1, 'private': 1, 'trait': 1, 'object': 1, 'null': 1, 'if': 1, 'for': 1, 'while': 1, 'throw': 1, 'finally': 1, 'protected': 1, 'extends': 1, 'import': 1, 'final': 1, 'return': 1, 'else': 1, 'break': 1, 'new': 1, 'catch': 1, 'super': 1, 'class': 1, 'case': 1,'package': 1, 'default': 1, 'try': 1, 'this': 1, 'match': 1, 'continue': 1, 'throws': 1}
+ },
+ modes: [
+ {
+ className: 'class',
+ lexems: [hljs.UNDERSCORE_IDENT_RE],
+ begin: '((case )?class |object |trait )', end: '({|$)',
+ illegal: ':',
+ keywords: {'case' : 1, 'class': 1, 'trait': 1, 'object': 1},
+ contains: ['inheritance', 'title', 'params']
+ },
+ {
+ className: 'inheritance',
+ begin: '(extends|with)', end: '^', noMarkup: true,
+ lexems: [hljs.IDENT_RE],
+ keywords: {'extends': 1, 'with': 1},
+ relevance: 10
+ },
+ {
+ className: 'title',
+ begin: hljs.UNDERSCORE_IDENT_RE, end: '^'
+ },
+ {
+ className: 'params',
+ begin: '\\(', end: '\\)',
+ contains: ['string', 'annotation']
+ },
+ hljs.C_NUMBER_MODE,
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ hljs.BACKSLASH_ESCAPE,
+ hljs.C_LINE_COMMENT_MODE,
+ {
+ className: 'javadoc',
+ begin: '/\\*\\*', end: '\\*/',
+ contains: ['javadoctag'],
+ relevance: 10
+ },
+ {
+ className: 'javadoctag',
+ begin: '@[A-Za-z]+', end: '^'
+ },
+ hljs.C_BLOCK_COMMENT_MODE,
+ {
+ className: 'annotation',
+ begin: '@[A-Za-z]+', end: '^'
+ },
+ {
+ className: 'string',
+ begin: 'u?r?"""', end: '"""',
+ relevance: 10
+ }
+ ]
+};
Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/languages/scala.js
------------------------------------------------------------------------------
svn:eol-style = native
Added: servicemix/sandbox/website20/src/main/webapp/highlight/languages/smalltalk.js
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/highlight/languages/smalltalk.js?rev=1026521&view=auto
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/highlight/languages/smalltalk.js (added)
+++ servicemix/sandbox/website20/src/main/webapp/highlight/languages/smalltalk.js Fri Oct 22 22:45:11 2010
@@ -0,0 +1,52 @@
+/*
+Language: Smalltalk
+Author: Vladimir Gubarkov <xo...@gmail.com>
+*/
+
+hljs.LANGUAGES.smalltalk = function(){
+ var VAR_IDENT_RE = '[a-z][a-zA-Z0-9_]*';
+ return {
+ defaultMode: {
+ lexems: [hljs.UNDERSCORE_IDENT_RE],
+ contains: ['comment', 'string', 'class', 'method',
+ 'number', 'symbol', 'char', 'localvars', 'array'],
+ keywords: {'self': 1, 'super': 1, 'nil': 1, 'true': 1, 'false': 1, 'thisContext': 1} // only 6
+ },
+ modes: [
+ {
+ className: 'class',
+ begin: '\\b[A-Z][A-Za-z0-9_]*', end: '^',
+ relevance: 0
+ },
+ {
+ className: 'symbol',
+ begin: '#' + hljs.UNDERSCORE_IDENT_RE, end: '^'
+ },
+ hljs.C_NUMBER_MODE,
+ hljs.APOS_STRING_MODE,
+ {
+ className: 'comment',
+ begin: '"', end: '"',
+ relevance: 0
+ },
+ {
+ className: 'method',
+ begin: VAR_IDENT_RE + ':', end:'^'
+ },
+ {
+ className: 'char',
+ begin: '\\$.{1}', end: '^'
+ },
+ {
+ className: 'localvars',
+ begin: '\\|\\s*((' + VAR_IDENT_RE + ')\\s*)+\\|', end: '^',
+ relevance: 10
+ },
+ {
+ className: 'array',
+ begin: '\\#\\(', end: '\\)',
+ contains: ['string', 'char', 'number', 'symbol']
+ }
+ ]
+ };
+}();
Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/languages/smalltalk.js
------------------------------------------------------------------------------
svn:eol-style = native
Added: servicemix/sandbox/website20/src/main/webapp/highlight/languages/sql.js
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/highlight/languages/sql.js?rev=1026521&view=auto
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/highlight/languages/sql.js (added)
+++ servicemix/sandbox/website20/src/main/webapp/highlight/languages/sql.js Fri Oct 22 22:45:11 2010
@@ -0,0 +1,106 @@
+/*
+Language: SQL
+*/
+
+hljs.LANGUAGES.sql =
+{
+ case_insensitive: true,
+ defaultMode:
+ {
+ contains: ['operator', 'comment'],
+ illegal: '[^\\s]'
+ },
+
+ modes: [
+ {
+ className: 'operator',
+ begin: '(begin|start|commit|rollback|savepoint|lock|alter|create|drop|rename|call|delete|do|handler|insert|load|replace|select|truncate|update|set|show|pragma)\\b', end: ';|$',
+ contains: ['string', 'number', 'newline'],
+ lexems: ['[a-zA-Z][a-zA-Z0-9_\\.]*'],
+ keywords: {
+ 'keyword': {
+ 'all': 1, 'partial': 1, 'global': 1, 'month': 1,
+ 'current_timestamp': 1, 'using': 1, 'go': 1, 'revoke': 1,
+ 'smallint': 1, 'indicator': 1, 'end-exec': 1, 'disconnect': 1,
+ 'zone': 1, 'with': 1, 'character': 1, 'assertion': 1, 'to': 1,
+ 'add': 1, 'current_user': 1, 'usage': 1, 'input': 1, 'local': 1,
+ 'alter': 1, 'match': 1, 'collate': 1, 'real': 1, 'then': 1,
+ 'rollback': 1, 'get': 1, 'read': 1, 'timestamp': 1,
+ 'session_user': 1, 'not': 1, 'integer': 1, 'bit': 1, 'unique': 1,
+ 'day': 1, 'minute': 1, 'desc': 1, 'insert': 1, 'execute': 1,
+ 'like': 1, 'ilike': 2, 'level': 1, 'decimal': 1, 'drop': 1,
+ 'continue': 1, 'isolation': 1, 'found': 1, 'where': 1,
+ 'constraints': 1, 'domain': 1, 'right': 1, 'national': 1, 'some': 1,
+ 'module': 1, 'transaction': 1, 'relative': 1, 'second': 1,
+ 'connect': 1, 'escape': 1, 'close': 1, 'system_user': 1, 'for': 1,
+ 'deferred': 1, 'section': 1, 'cast': 1, 'current': 1, 'sqlstate': 1,
+ 'allocate': 1, 'intersect': 1, 'deallocate': 1, 'numeric': 1,
+ 'public': 1, 'preserve': 1, 'full': 1, 'goto': 1, 'initially': 1,
+ 'asc': 1, 'no': 1, 'key': 1, 'output': 1, 'collation': 1, 'group': 1,
+ 'by': 1, 'union': 1, 'session': 1, 'both': 1, 'last': 1,
+ 'language': 1, 'constraint': 1, 'column': 1, 'of': 1, 'space': 1,
+ 'foreign': 1, 'deferrable': 1, 'prior': 1, 'connection': 1,
+ 'unknown': 1, 'action': 1, 'commit': 1, 'view': 1, 'or': 1,
+ 'first': 1, 'into': 1, 'float': 1, 'year': 1, 'primary': 1,
+ 'cascaded': 1, 'except': 1, 'restrict': 1, 'set': 1, 'references': 1,
+ 'names': 1, 'table': 1, 'outer': 1, 'open': 1, 'select': 1,
+ 'size': 1, 'are': 1, 'rows': 1, 'from': 1, 'prepare': 1,
+ 'distinct': 1, 'leading': 1, 'create': 1, 'only': 1, 'next': 1,
+ 'inner': 1, 'authorization': 1, 'schema': 1, 'corresponding': 1,
+ 'option': 1, 'declare': 1, 'precision': 1, 'immediate': 1, 'else': 1,
+ 'timezone_minute': 1, 'external': 1, 'varying': 1, 'translation': 1,
+ 'true': 1, 'case': 1, 'exception': 1, 'join': 1, 'hour': 1,
+ 'default': 1, 'double': 1, 'scroll': 1, 'value': 1, 'cursor': 1,
+ 'descriptor': 1, 'values': 1, 'dec': 1, 'fetch': 1, 'procedure': 1,
+ 'delete': 1, 'and': 1, 'false': 1, 'int': 1, 'is': 1, 'describe': 1,
+ 'char': 1, 'as': 1, 'at': 1, 'in': 1, 'varchar': 1, 'null': 1,
+ 'trailing': 1, 'any': 1, 'absolute': 1, 'current_time': 1, 'end': 1,
+ 'grant': 1, 'privileges': 1, 'when': 1, 'cross': 1, 'check': 1,
+ 'write': 1, 'current_date': 1, 'pad': 1, 'begin': 1, 'temporary': 1,
+ 'exec': 1, 'time': 1, 'update': 1, 'catalog': 1, 'user': 1, 'sql': 1,
+ 'date': 1, 'on': 1, 'identity': 1, 'timezone_hour': 1, 'natural': 1,
+ 'whenever': 1, 'interval': 1, 'work': 1, 'order': 1, 'cascade': 1,
+ 'diagnostics': 1, 'nchar': 1, 'having': 1, 'left': 1, 'call': 1,
+ 'do': 1, 'handler': 1, 'load': 1, 'replace': 1, 'truncate': 1,
+ 'start': 1, 'lock': 1, 'show': 1, 'pragma': 1},
+ 'aggregate': {'count': 1, 'sum': 1, 'min': 1, 'max': 1, 'avg': 1}
+ }
+ },
+ {
+ className: 'newline',
+ begin: '\\n', end: '^', noMarkup: true
+ },
+ hljs.C_NUMBER_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ {
+ className: 'comment',
+ begin: '--', end: '$'
+ },
+ {
+ className: 'string',
+ begin: '\'', end: '\'',
+ contains: ['escape', 'squote'],
+ relevance: 0
+ },
+ {
+ className: 'squote',
+ begin: '\'\'', end: '^', noMarkup: true
+ },
+ {
+ className: 'string',
+ begin: '"', end: '"',
+ contains: [ 'escape', 'dquote'],
+ relevance: 0
+ },
+ {
+ className: 'dquote',
+ begin: '""', end: '^', noMarkup: true
+ },
+ {
+ className: 'string',
+ begin: '`', end: '`',
+ contains: ['escape']
+ },
+ hljs.BACKSLASH_ESCAPE
+ ]
+};
Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/languages/sql.js
------------------------------------------------------------------------------
svn:eol-style = native
Added: servicemix/sandbox/website20/src/main/webapp/highlight/languages/tex.js
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/highlight/languages/tex.js?rev=1026521&view=auto
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/highlight/languages/tex.js (added)
+++ servicemix/sandbox/website20/src/main/webapp/highlight/languages/tex.js Fri Oct 22 22:45:11 2010
@@ -0,0 +1,58 @@
+/*
+Language: TeX
+Author: Vladimir Moskva <vl...@gmail.com>
+Website: http://fulc.ru/
+*/
+
+hljs.LANGUAGES.tex = {
+ defaultMode: {
+ contains: ['parameter', 'command', 'special', 'formula', 'comment']
+ },
+ modes: [
+ {
+ className: 'parameter',
+ begin: '\\\\[a-zA-Zа-ÑÐ-Ñ]+[\\*]? *= *-?\\d*\\.?\\d+(pt|pc|mm|cm|in|dd|cc|ex|em)?', end: '^',
+ returnBegin: true,
+ contains: ['command', 'number'],
+ noMarkup: true,
+ relevance: 10
+ },
+ {
+ className: 'command',
+ begin: '\\\\[a-zA-Zа-ÑÐ-Ñ]+[\\*]?', end: '^',
+ relevance: 10
+ },
+ {
+ className: 'command',
+ begin: '\\\\[^a-zA-Zа-ÑÐ-Ñ0-9]', end: '^',
+ relevance: 0
+ },
+ {
+ className: 'comment',
+ begin: '%', end: '$',
+ relevance: 0
+ },
+ {
+ className: 'special',
+ begin: '[{}\\[\\]\\&#~]', end: '^',
+ relevance: 0
+ },
+ {
+ className: 'formula',
+ begin: '\\$\\$', end: '\\$\\$',
+ contains: ['command', 'special'],
+ relevance: 0
+ },
+ {
+ className: 'formula',
+ begin: '\\$', end: '\\$',
+ contains: ['command', 'special'],
+ relevance: 0
+ },
+ {
+ className: 'number',
+ begin: ' *=', end: '-?\\d*\\.?\\d+(pt|pc|mm|cm|in|dd|cc|ex|em)?',
+ excludeBegin: true
+ }
+ ]
+};
Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/languages/tex.js
------------------------------------------------------------------------------
svn:eol-style = native
Added: servicemix/sandbox/website20/src/main/webapp/highlight/languages/vbscript.js
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/highlight/languages/vbscript.js?rev=1026521&view=auto
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/highlight/languages/vbscript.js (added)
+++ servicemix/sandbox/website20/src/main/webapp/highlight/languages/vbscript.js Fri Oct 22 22:45:11 2010
@@ -0,0 +1,36 @@
+/*
+Language: VBScript
+Author: Nikita Ledyaev <le...@yandex.ru>
+Contributors: Michal Gabrukiewicz <mg...@gmail.com>
+*/
+
+hljs.LANGUAGES.vbscript = {
+ defaultMode: {
+ lexems: [hljs.IDENT_RE],
+ contains: ['string', 'comment', 'number', 'built_in'],
+ keywords: {
+ 'keyword': {'call' : 1,'class' : 1,'const' : 1,'dim' : 1,'do' : 1,'loop' : 1,'erase' : 1,'execute' : 1,'executeglobal' : 1,'exit' : 1,'for' : 1,'each' : 1,'next' : 1,'function' : 1,'if' : 1,'then' : 1,'else' : 1,'on' : 1, 'error' : 1,'option' : 1, 'explicit' : 1, 'new': 1, 'private' : 1,'property' : 1,'let' : 1,'get' : 1,'public' : 1,'randomize' : 1,'redim' : 1,'rem' : 1,'select' : 1,'case' : 1,'set' : 1,'stop' : 1,'sub' : 1,'while' : 1,'wend' : 1,'with' : 1, 'end' : 1, 'to' : 1, 'elseif': 1, 'is': 1, 'or': 1, 'xor': 1, 'and': 1, 'not': 1, 'class_initialize': 1, 'class_terminate': 1, 'default': 1, 'preserve': 1, 'in': 1, 'me': 1, 'byval': 1, 'byref': 1, 'step': 1, 'resume': 1, 'goto': 1},
+ 'built_in': {'lcase': 1, 'month': 1, 'vartype': 1, 'instrrev': 1, 'ubound': 1, 'setlocale': 1, 'getobject': 1, 'rgb': 1, 'getref': 1, 'string': 1, 'weekdayname': 1, 'rnd': 1, 'dateadd': 1, 'monthname': 1, 'now': 1, 'day': 1, 'minute': 1, 'isarray': 1, 'cbool': 1, 'round': 1, 'formatcurrency': 1, 'conversions': 1, 'csng': 1, 'timevalue': 1, 'second': 1, 'year': 1, 'space': 1, 'abs': 1, 'clng': 1, 'timeserial': 1, 'fixs': 1, 'len': 1, 'asc': 1, 'isempty': 1, 'maths': 1, 'dateserial': 1, 'atn': 1, 'timer': 1, 'isobject': 1, 'filter': 1, 'weekday': 1, 'datevalue': 1, 'ccur': 1, 'isdate': 1, 'instr': 1, 'datediff': 1, 'formatdatetime': 1, 'replace': 1, 'isnull': 1, 'right': 1, 'sgn': 1, 'array': 1, 'snumeric': 1, 'log': 1, 'cdbl': 1, 'hex': 1, 'chr': 1, 'lbound': 1, 'msgbox': 1, 'ucase': 1, 'getlocale': 1, 'cos': 1, 'cdate': 1, 'cbyte': 1, 'rtrim': 1, 'join': 1, 'hour': 1, 'oct': 1, 'typename': 1, 'trim': 1, 'strcomp': 1, 'int': 1, 'createobject': 1, 'loadpicture': 1, 'tan'
: 1, 'formatnumber': 1, 'mid': 1, 'scriptenginebuildversion': 1, 'scriptengine': 1, 'split': 1, 'scriptengineminorversion': 1, 'cint': 1, 'sin': 1, 'datepart': 1, 'ltrim': 1, 'sqr': 1, 'scriptenginemajorversion': 1, 'time': 1, 'derived': 1, 'eval': 1, 'date': 1, 'formatpercent': 1, 'exp': 1, 'inputbox': 1, 'left': 1, 'ascw': 1, 'chrw': 1, 'regexp': 1, 'server': 1, 'response': 1, 'request': 1, 'cstr': 1, 'err': 1},
+ 'literal': {'true': 1, 'false': 1, 'null': 1, 'nothing': 1, 'empty': 1}
+ }
+ },
+ case_insensitive: true,
+ modes: [
+ { // can't use standard QUOTE_STRING_MODE since it's compiled with its own escape and doesn't use the local one
+ className: 'string',
+ begin: '"', end: '"',
+ illegal: '\\n',
+ contains: ['escape'],
+ relevance: 0
+ },
+ {
+ className: 'escape',
+ begin: '""', end: '^', noMarkup: true
+ },
+ {
+ className: 'comment',
+ begin: '\'', end: '$'
+ },
+ hljs.C_NUMBER_MODE
+ ]
+};
Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/languages/vbscript.js
------------------------------------------------------------------------------
svn:eol-style = native
Added: servicemix/sandbox/website20/src/main/webapp/highlight/readme.eng.txt
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/highlight/readme.eng.txt?rev=1026521&view=auto
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/highlight/readme.eng.txt (added)
+++ servicemix/sandbox/website20/src/main/webapp/highlight/readme.eng.txt Fri Oct 22 22:45:11 2010
@@ -0,0 +1,486 @@
+# Highlight.js
+
+Highlight.js highlights syntax in code examples on blogs, forums and
+in fact on any web pages. It's very easy to use because it works
+automatically: finds blocks of code, detects a language, highlights it.
+
+Autodetection can be fine tuned when it fails by itself (see "Heuristics").
+
+
+## Installation and usage
+
+Downloaded package includes file "highlight.pack.js" which is a full compressed
+version of the library intended to use in production. All uncompressed source
+files are also available, feel free to look into them!
+
+The script is installed by linking to a single file and making a single
+initialization call:
+
+ <script type="text/javascript" src="highlight.pack.js"></script>
+ <script type="text/javascript">
+ hljs.initHighlightingOnLoad();
+ </script>
+
+Also you can replaces TAB ('\x09') characters used for indentation in your code
+with some fixed number of spaces or with a `<span>` to set them special styling:
+
+ <script type="text/javascript">
+ hljs.tabReplace = ' '; // 4 spaces
+ // ... or
+ hljs.tabReplace = '<span class="indent">\t</span>';
+
+ hljs.initHighlightingOnLoad();
+ </script>
+
+Then the script looks in your page for fragments `<pre><code>...</code></pre>`
+that are used traditionally to mark up code examples. Their content is
+marked up by logical pieces with defined class names.
+
+
+### Custom initialization
+
+If you use different markup for code blocks you can initialize them manually
+with `highlightBlock(code, tabReplace)` function. It takes a DOM element
+containing the code to highlight and optionally a string with which to replace
+TAB characters.
+
+Initialization using for example jQuery might look like this:
+
+ $(document).ready(function() {
+ $('pre code').each(function(i, e) {hljs.highlightBlock(e, ' ')});
+ });
+
+
+### Styling
+
+Elements of code marked up with classes can be styled as desired:
+
+ .comment {
+ color: gray;
+ }
+
+ .keyword {
+ font-weight: bold;
+ }
+
+ .python .string {
+ color: blue;
+ }
+
+ .html .atribute .value {
+ color: green;
+ }
+
+Highligt.js comes with several style themes located in "styles" directory that
+can be used directly or as a base for your own experiments.
+
+A full list of available classes is below ("Languages").
+
+
+## Export
+
+File export.html contains a little program that shows and allows to copy and paste
+an HTML code generated by the highlighter for any code snippet. This can be useful
+in situations when one can't use the script itself on a site.
+
+
+## Languages
+
+This is a full list of available classes corresponding to languages'
+syntactic structures. In parentheses after language names are identifiers
+used as class names in `<code>` element.
+
+Python ("python"):
+
+ keyword keyword
+ built_in built-in objects (None, False, True and Ellipsis)
+ number number
+ string string (of any type)
+ comment comment
+ decorator @-decorator for functions
+ function function header "def some_name(...):"
+ class class header "class SomeName(...):"
+ title name of a function or a class inside a header
+ params everything inside parentheses in a function's or class' header
+
+Python profiler results ("profile"):
+
+ number number
+ string string
+ builtin builtin function entry
+ filename filename in an entry
+ summary profiling summary
+ header header of table of results
+ keyword column header
+ function function name in an entry (including parentheses)
+ title actual name of a function in an entry (excluding parentheses)
+
+Ruby ("ruby"):
+
+ keyword keyword
+ string string
+ subst in-string substitution (#{...})
+ comment comment
+ yardoctag YARD tag
+ function function header "def some_name(...):"
+ class class header "class SomeName(...):"
+ title name of a function or a class inside a header
+ parent name of a parent class
+ symbol symbol
+ instancevar instance variable
+
+Perl ("perl"):
+
+ keyword keyword
+ comment comment
+ number number
+ string string
+ regexp regular expression
+ sub subroutine header (from "sub" till "{")
+ variable variable starting with "$", "%", "@"
+ operator operator
+ pod plain old doc
+
+PHP ("php"):
+
+ keyword keyword
+ number number
+ string string (of any type)
+ comment comment
+ phpdoc phpdoc params in comments
+ variable variable starting with "$"
+ preprocessor preprocessor marks: "<?php" and "?>"
+
+Scala ("scala"):
+
+ keyword keyword
+ number number
+ string string
+ comment comment
+ annotaion annotation
+ javadoc javadoc comment
+ javadoctag @-tag in javadoc
+ class class header
+ title class name inside a header
+ params everything in parentheses inside a class header
+ inheritance keywords "extends" and "with" inside class header
+
+XML ("xml"):
+
+ tag any tag from "<" till ">"
+ comment comment
+ pi processing instruction (<? ... ?>)
+ cdata CDATA section
+ attribute attribute
+ value attribute's value
+
+HTML ("html"):
+
+ keyword HTML tag
+ tag any tag from "<" till ">"
+ comment comment
+ doctype <!DOCTYPE ... > declaration
+ attribute tag's attribute with or without value
+ value attribute's value
+
+CSS ("css"):
+
+ keyword HTML tag when in selectors, CSS keyword when in rules
+ id #some_name in selectors
+ class .some_name in selectors
+ at_rule @-rule till first "{" or ";"
+ attr_selector attribute selector (square brackets in a[href^=http://])
+ pseudo pseudo classes and elemens (:after, ::after etc.)
+ comment comment
+ rules everything from "{" till "}"
+ value property's value inside a rule, from ":" till ";" or
+ till the end of rule block
+ number number within a value
+ string string within a value
+ hexcolor hex color (#FFFFFF) within a value
+ function CSS function within a value
+ params everything between "(" and ")" within a function
+
+Django ("django"):
+
+ keyword HTML tag in HTML, default tags and default filters in templates
+ tag any tag from "<" till ">"
+ comment comment
+ doctype <!DOCTYPE ... > declaration
+ attribute tag's attribute with or withou value
+ value attribute's value
+ template_tag template tag {% .. %}
+ variable template variable {{ .. }}
+ template_comment template comment, both {# .. #} and {% comment %}
+ filter filter from "|" till the next filter or the end of tag
+ argument filter argument
+
+Javascript ("javascript"):
+
+ keyword keyword
+ comment comment
+ number number
+ literal special literal: "true", "false" and "null"
+ string string
+ regexp regular expression
+ function header of a function
+ title name of a function inside a header
+ params everything inside parentheses in a function's header
+
+VBScript ("vbscript"):
+
+ keyword keyword
+ number number
+ string string
+ comment comment
+ built_in built-in function
+
+Lua ("lua"):
+
+ keyword keyword
+ number number
+ string string
+ comment comment
+ built_in built-in operator
+ function header of a function
+ title name of a function inside a header
+ params everything inside parentheses in a function's header
+ long_brackets multiline string in [=[ .. ]=]
+
+Delphi ("delphi"):
+
+ keyword keyword
+ comment comment (of any type)
+ number number
+ string string
+ function header of a function, procedure, constructor and destructor
+ title name of a function, procedure, constructor or destructor
+ inside a header
+ params everything inside parentheses in a function's header
+ class class' body from "= class" till "end;"
+
+Java ("java"):
+
+ keyword keyword
+ number number
+ string string
+ comment commment
+ annotaion annotation
+ javadoc javadoc comment
+ class class header from "class" till "{"
+ title class name inside a header
+ params everything in parentheses inside a class header
+ inheritance keywords "extends" and "implements" inside class header
+
+C++ ("cpp"):
+
+ keyword keyword
+ number number
+ string string and character
+ comment comment
+ preprocessor preprocessor directive
+ stl_container instantiation of STL containers ("vector<...>")
+
+C# ("cs"):
+
+ keyword keyword
+ number number
+ string string
+ comment commment
+ xmlDocTag xmldoc tag ("///", "<!--", "-->", "<..>")
+
+RenderMan RSL ("rsl"):
+
+ keyword keyword
+ number number
+ string string (including @"..")
+ comment comment
+ preprocessor preprocessor directive
+ shader sahder keywords
+ shading shading keywords
+ built_in built-in function
+
+RenderMan RIB ("rib"):
+
+ keyword keyword
+ number number
+ string string
+ comment comment
+ commands command
+
+Maya Embedded Language ("mel"):
+
+ keyword keyword
+ number number
+ string string
+ comment comment
+ variable variable
+
+SQL ("sql"):
+
+ keyword keyword (mostly SQL'92 and SQL'99)
+ number number
+ string string (of any type: "..", '..', `..`)
+ comment comment
+ aggregate aggregate function
+
+Smalltalk ("smalltalk"):
+
+ keyword keyword
+ number number
+ string string
+ comment commment
+ symbol symbol
+ array array
+ class name of a class
+ char char
+ localvars block of local variables
+
+Lisp ("lisp"):
+
+ keyword keyword
+ number number
+ string string
+ comment commment
+ variable variable
+ literal b, t and nil
+ list non-quoted list
+ title first symbol in a non-quoted list
+ body remainder of the non-quoted list
+ quoted_list quoted list, both "(quote .. )" and "'(..)"
+
+Ini ("ini"):
+
+ title title of a section
+ value value of a setting of any type
+ string string
+ number number
+ keyword boolean value keyword
+
+Apache ("apache"):
+
+ keyword keyword
+ number number
+ comment commment
+ literal On and Off
+ sqbracket variables in rewrites "%{..}"
+ cbracket options in rewrites "[..]"
+ tag begin and end of a configuration section
+
+Nginx ("nginx"):
+
+ keyword keyword
+ string string
+ number number
+ comment comment
+ built_in built-in constant
+ variable $-variable
+
+DOS ("dos"):
+
+ keyword keyword
+ flow batch control keyword
+ stream DOS special files ("con", "prn", ...)
+ winutils some commands (see dos.js specifically)
+ envvar environment variables
+
+Bash ("bash"):
+
+ keyword keyword
+ string string
+ number number
+ comment comment
+ literal special literal: "true" и "false"
+ variable variable
+ shebang script interpreter header
+
+Diff ("diff"):
+
+ header file header
+ chunk chunk header within a file
+ addition added lines
+ deletion deleted lines
+ change changed lines
+
+Axapta ("axapta"):
+
+ keyword keyword
+ number number
+ string string
+ comment commment
+ class class header from "class" till "{"
+ title class name inside a header
+ params everything in parentheses inside a class header
+ inheritance keywords "extends" and "implements" inside class header
+ preprocessor preprocessor directive
+
+1C ("1c"):
+
+ keyword keyword
+ number number
+ date date
+ string string
+ comment commment
+ function header of function or procudure
+ title function name inside a header
+ params everything in parentheses inside a function header
+ preprocessor preprocessor directive
+
+AVR assembler ("avrasm"):
+
+ keyword keyword
+ built_in pre-defined register
+ number number
+ string string
+ comment commment
+ label label
+ preprocessor preprocessor directive
+ localvars substitution in .macro
+
+Parser3 ("parser3"):
+
+ keyword keyword
+ number number
+ comment commment
+ variable variable starting with "$"
+ preprocessor preprocessor directive
+ title user-defined name starting with "@"
+
+TeX ("tex"):
+
+ comment comment
+ number number
+ command command
+ parameter parameter
+ formula formula
+ special special symbol
+
+
+## Heuristics
+
+Autodetection of a code's language is done with a simple heuristics:
+the program tries to highlight a fragment with all available languages and
+counts all syntactic structures that it finds along the way. The language
+with greatest count wins.
+
+This means that in short fragments the probability of an error is high
+(and it really happens sometimes). In this cases you can set the fragment's
+language explicitly by assigning a class to the `<code>` element:
+
+ <pre><code class="html">...</code></pre>
+
+You can use class names recommended in HTML5: "language-html",
+"language-php". Classes also can be assigned to the `<pre>` element.
+
+To disable highlighting of a fragment altogether use "no-highlight" class:
+
+ <pre><code class="no-highlight">...</code></pre>
+
+## Contacts
+
+Version: 5.11
+URL: http://softwaremaniacs.org/soft/highlight/en/
+Author: Ivan Sagalaev (Maniac@SoftwareManiacs.Org)
+
+For the license terms see LICENSE files.
+For the list of contributors see AUTHORS.en.txt file.
Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/readme.eng.txt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/readme.eng.txt
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: servicemix/sandbox/website20/src/main/webapp/highlight/readme.rus.txt
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/highlight/readme.rus.txt?rev=1026521&view=auto
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/highlight/readme.rus.txt (added)
+++ servicemix/sandbox/website20/src/main/webapp/highlight/readme.rus.txt Fri Oct 22 22:45:11 2010
@@ -0,0 +1,494 @@
+# Highlight.js
+
+Highlight.js нÑжен Ð´Ð»Ñ Ð¿Ð¾Ð´ÑвеÑки ÑинÑакÑиÑа в пÑимеÑаÑ
кода в блогаÑ
,
+ÑоÑÑмаÑ
и вообÑе на лÑбÑÑ
веб-ÑÑÑаниÑаÑ
. ÐолÑзоваÑÑÑÑ Ð¸Ð¼ оÑÐµÐ½Ñ Ð¿ÑоÑÑо,
+поÑÐ¾Ð¼Ñ ÑÑо ÑабоÑÐ°ÐµÑ Ð¾Ð½ авÑомаÑиÑеÑки: Ñам наÑ
Ð¾Ð´Ð¸Ñ Ð±Ð»Ð¾ÐºÐ¸ кода, Ñам
+опÑеделÑÐµÑ ÑзÑк, Ñам подÑвеÑиваеÑ.
+
+ÐвÑоопÑеделением ÑзÑка можно ÑпÑавлÑÑÑ, когда оно не ÑпÑавлÑеÑÑÑ Ñамо (Ñм.
+далÑÑе "ÐвÑиÑÑика").
+
+
+## ÐодклÑÑение и иÑполÑзование
+
+РзагÑÑженном аÑÑ
иве Ð»ÐµÐ¶Ð¸Ñ Ñайл "highlight.pack.js" -- Ð¿Ð¾Ð»Ð½Ð°Ñ ÑжаÑÐ°Ñ Ð²ÐµÑÑиÑ
+библиоÑеки Ð´Ð»Ñ ÑабоÑÑ. ÐÑе неÑжаÑÑе иÑÑ
однÑе ÑÐ°Ð¹Ð»Ñ Ñакже еÑÑÑ Ð² пакеÑе, поÑÑомÑ
+не ÑÑеÑнÑйÑеÑÑ Ð² ниÑ
ÑмоÑÑеÑÑ!
+
+СкÑÐ¸Ð¿Ñ Ð¿Ð¾Ð´ÐºÐ»ÑÑаеÑÑÑ Ð¾Ð´Ð½Ð¸Ð¼ Ñайлом и одним вÑзовом иниÑиализиÑÑÑÑей
+ÑÑнкÑии:
+
+ <script type="text/javascript" src="highlight.pack.js"></script>
+ <script type="text/javascript">
+ hljs.initHighlightingOnLoad();
+ </script>
+
+Также Ð²Ñ Ð¼Ð¾Ð¶ÐµÑе замениÑÑ ÑÐ¸Ð¼Ð²Ð¾Ð»Ñ TAB ('\x09'), иÑполÑзÑемÑе Ð´Ð»Ñ Ð¾ÑÑÑÑпов, на
+ÑикÑиÑованное колиÑеÑÑво пÑобелов или на оÑделÑнÑй `<span>`, ÑÑÐ¾Ð±Ñ Ð·Ð°Ð´Ð°ÑÑ ÐµÐ¼Ñ
+какой-нибÑÐ´Ñ ÑпеÑиалÑнÑй ÑÑилÑ:
+
+ <script type="text/javascript">
+ hljs.tabReplace = ' '; // 4 spaces
+ // ... or
+ hljs.tabReplace = '<span class="indent">\t</span>';
+
+ hljs.initHighlightingOnLoad();
+ </script>
+
+ÐалÑÑе ÑкÑÐ¸Ð¿Ñ Ð¸ÑÐµÑ Ð½Ð° ÑÑÑаниÑе конÑÑÑÑкÑии `<pre><code>...</code></pre>`,
+коÑоÑÑе ÑÑадиÑионно иÑполÑзÑÑÑÑÑ Ð´Ð»Ñ Ð½Ð°Ð¿Ð¸ÑÐ°Ð½Ð¸Ñ ÐºÐ¾Ð´Ð°, и код в ниÑ
+ÑазмеÑаеÑÑÑ Ð½Ð° кÑÑки, помеÑеннÑе ÑазнÑми знаÑениÑми клаÑÑов.
+
+
+### ÐниÑиализаÑÐ¸Ñ Ð²ÑÑÑнÑÑ
+
+ÐÑли Ð²Ñ Ð¸ÑполÑзÑеÑе дÑÑгие Ñеги Ð´Ð»Ñ Ð±Ð»Ð¾ÐºÐ¾Ð² кода, Ð²Ñ Ð¼Ð¾Ð¶ÐµÑе иниÑиализиÑоваÑÑ Ð¸Ñ
+Ñвно Ñ Ð¿Ð¾Ð¼Ð¾ÑÑÑ ÑÑнкÑии `highlightBlock(code, tabReplace)`. Ðна пÑинимаеÑ
+DOM-ÑÐ»ÐµÐ¼ÐµÐ½Ñ Ñ ÑекÑÑом ÑаÑÑвеÑиваемого кода и опÑионалÑно - ÑÑÑоÑÐºÑ Ð´Ð»Ñ Ð·Ð°Ð¼ÐµÐ½Ñ
+Ñимволов TAB.
+
+ÐапÑÐ¸Ð¼ÐµÑ Ñ Ð¸ÑполÑзованием jQuery код иниÑиализаÑии Ð¼Ð¾Ð¶ÐµÑ Ð²ÑглÑдеÑÑ Ñак:
+
+ $(document).ready(function() {
+ $('pre code').each(function(i, e) {hljs.highlightBlock(e, ' ')});
+ });
+
+
+### ÐÑÐ±Ð¾Ñ ÑÑилей
+
+РазмеÑеннÑм клаÑÑами ÑлеменÑам кода можно задаÑÑ Ð¶ÐµÐ»Ð°ÐµÐ¼Ñе ÑÑили напÑÐ¸Ð¼ÐµÑ Ñак:
+
+ .comment {
+ color: gray;
+ }
+
+ .keyword {
+ font-weight: bold;
+ }
+
+ .python .string {
+ color: blue;
+ }
+
+ .html .atribute .value {
+ color: green;
+ }
+
+РкомплекÑе Ñ highlight.js идÑÑ Ð½ÐµÑколÑко ÑÑилевÑÑ
Ñем в диÑекÑоÑии styles,
+коÑоÑÑе можно иÑполÑзоваÑÑ Ð½Ð°Ð¿ÑÑмÑÑ Ð¸Ð»Ð¸ как оÑÐ½Ð¾Ð²Ñ Ð´Ð»Ñ ÑобÑÑвеннÑÑ
ÑкÑпеÑименÑов.
+
+ÐолнÑй ÑпиÑок клаÑÑов Ð´Ð»Ñ ÑазнÑÑ
ÑзÑков пÑиведен ниже ("ЯзÑки").
+
+
+## ÐкÑпоÑÑ
+
+Ð Ñайле export.html наÑ
одиÑÑÑ Ð½ÐµÐ±Ð¾Ð»ÑÑÐ°Ñ Ð¿ÑогÑаммка, коÑоÑÐ°Ñ Ð¿Ð¾ÐºÐ°Ð·ÑÐ²Ð°ÐµÑ Ð¸ даеÑ
+ÑкопиÑоваÑÑ Ð½ÐµÐ¿Ð¾ÑÑедÑÑвенно HTML-код подÑвеÑки Ð´Ð»Ñ Ð»Ñбого заданного ÑÑагменÑа кода.
+ÐÑо Ð¼Ð¾Ð¶ÐµÑ Ð¿Ð¾Ð½Ð°Ð´Ð¾Ð±Ð¸ÑÑÑ Ð½Ð°Ð¿ÑÐ¸Ð¼ÐµÑ Ð½Ð° ÑайÑе, на коÑоÑом нелÑÐ·Ñ Ð¿Ð¾Ð´ÐºÐ»ÑÑиÑÑ Ñам ÑкÑипÑ
+highlight.js.
+
+
+## ЯзÑки
+
+Ð ÑпиÑке пÑÐ¸Ð²ÐµÐ´ÐµÐ½Ñ Ð²Ñе ÑзÑки, коÑоÑÑе Ð·Ð½Ð°ÐµÑ Ð±Ð¸Ð±Ð»Ð¸Ð¾Ñека Ñ ÐºÐ»Ð°ÑÑами,
+ÑооÑвеÑÑÑвÑÑÑими ÑазлиÑнÑм ÑинÑакÑиÑеÑким ÑаÑÑÑм. Ð ÑкобкаÑ
поÑле
+названий ÑзÑков ÑÐºÐ°Ð·Ð°Ð½Ñ Ð¸Ð´ÐµÐ½ÑиÑикаÑоÑÑ ÑзÑков, иÑполÑзÑемÑе в каÑеÑÑве
+клаÑÑов ÑлеменÑа `<code>`.
+
+Python ("python"):
+
+ keyword клÑÑевое Ñлово ÑзÑка
+ built_in ÑÑандаÑÑнÑе знаÑÐµÐ½Ð¸Ñ (None, False, True и Ellipsis)
+ number ÑиÑло
+ string ÑÑÑока (лÑбого Ñипа)
+ comment комменÑаÑий
+ decorator @-декоÑаÑÐ¾Ñ ÑÑнкÑии
+ function заголовок ÑÑнкÑии "def some_name(...):"
+ class заголовок клаÑÑа "class SomeName(...):"
+ title название ÑÑнкÑии или клаÑÑа внÑÑÑи заголовка
+ params вÑе, ÑÑо в ÑкобкаÑ
внÑÑÑи заголовка ÑÑнкÑии или клаÑÑа
+
+РезÑлÑÑаÑÑ Ð¿ÑоÑайлинга ÐиÑона ("profile"):
+
+ number ÑиÑло
+ string ÑÑÑока
+ builtin вÑÑÑÐ¾ÐµÐ½Ð½Ð°Ñ ÑÑнкÑÐ¸Ñ Ð² ÑÑÑоке ÑезÑлÑÑаÑа
+ filename Ð¸Ð¼Ñ Ñайла в ÑÑÑоке ÑезÑлÑÑаÑа
+ summary иÑоговÑе ÑезÑлÑÑаÑÑ Ð¿ÑоÑилиÑованиÑ
+ header заголовок ÑаблиÑÑ ÑезÑлÑÑаÑов
+ keyword название колонки в заголовке
+ function название ÑÑнкÑии в ÑÑÑоке ÑезÑлÑÑаÑа (вклÑÑÐ°Ñ Ñкобки)
+ title Ñамо название ÑÑнкÑи в ÑÑÑоке ÑезÑлÑÑаÑа (без Ñкобок)
+
+Ruby ("ruby"):
+
+ keyword клÑÑевое Ñлово ÑзÑка
+ string ÑÑÑока
+ subst внÑÑÑиÑÑÑÐ¾ÐºÐ¾Ð²Ð°Ñ Ð¿Ð¾Ð´ÑÑановка (#{...})
+ comment комменÑаÑий
+ yardoctag Ñег YARD
+ function заголовок ÑÑнкÑии "def ..."
+ class заголовок клаÑÑа "class ..."
+ title название ÑÑнкÑии или клаÑÑа внÑÑÑи заголовка
+ parent название ÑодиÑелÑÑкого клаÑÑа
+ symbol Ñимвол
+ instancevar пеÑÐµÐ¼ÐµÐ½Ð½Ð°Ñ ÐºÐ»Ð°ÑÑа
+
+Perl ("perl"):
+
+ keyword клÑÑевое Ñлово ÑзÑка
+ comment комменÑаÑий
+ number ÑиÑло
+ string ÑÑÑока
+ regexp ÑегÑлÑÑное вÑÑажение
+ sub заголовок пÑоÑедÑÑÑ (Ð¾Ñ "sub" до "{")
+ variable пеÑеменнаÑ, наÑинаÑÑаÑÑÑ Ñ "$", "%", "@"
+ operator опеÑаÑоÑ
+ pod докÑменÑаÑÐ¸Ñ (plain old doc)
+
+PHP ("php"):
+
+ keyword клÑÑевое Ñлово ÑзÑка
+ number ÑиÑло
+ string ÑÑÑока (лÑбого Ñипа)
+ comment комменÑаÑий
+ phpdoc паÑамеÑÑÑ phpdoc в комменÑаÑии
+ variable пеÑеменнаÑ, наÑинаÑÑаÑÑÑ Ñ "$"
+ preprocessor меÑки пÑепÑоÑеÑÑоÑа: "<?php" and "?>"
+
+Scala ("scala"):
+
+ keyword клÑÑевое Ñлово ÑзÑка
+ number ÑиÑло
+ string ÑÑÑока
+ comment комменÑаÑий
+ annotaion анноÑаÑиÑ
+ javadoc javadoc-комменÑаÑии
+ javadoctag @-Ñег в javadoc
+ class заголовок клаÑÑа
+ title название клаÑÑа внÑÑÑи заголовка
+ params вÑе, ÑÑо в ÑкобкаÑ
внÑÑÑи заголовка клаÑÑа
+ inheritance Ñлова "extends" и "with" внÑÑÑи заголовка клаÑÑа
+
+XML ("xml"):
+
+ tag лÑбой оÑкÑÑваÑÑий или закÑÑваÑÑий Ñег Ð¾Ñ "<" до ">"
+ comment комменÑаÑий
+ pi инÑÑÑÑкÑии обÑабоÑки (<? ... ?>)
+ cdata Ñаздел CDATA
+ attribute аÑÑибÑÑ
+ value знаÑение аÑÑибÑÑа
+
+HTML ("html"):
+
+ keyword Ñег ÑзÑка HTML
+ tag лÑбой оÑкÑÑваÑÑий или закÑÑваÑÑий Ñег Ð¾Ñ "<" до ">"
+ comment комменÑаÑий
+ doctype обÑÑвление <!DOCTYPE ... >
+ attribute аÑÑибÑÑ Ð²Ð½ÑÑÑи Ñега Ñо знаÑением или без
+ value знаÑение аÑÑибÑÑа
+
+CSS ("css"):
+
+ keyword Ñег ÑзÑка HTML в ÑелекÑоÑаÑ
или ÑвойÑÑво CSS в пÑавилаÑ
+ id #some_name в ÑелекÑоÑаÑ
+ class .some_name в ÑелекÑоÑаÑ
+ at_rule @-rule до пеÑвого "{" или ";"
+ attr_selector ÑелекÑÐ¾Ñ Ð°ÑÑибÑÑов (квадаÑнÑе Ñкобоки в a[href^=http://])
+ pseudo пÑевдо-клаÑÑÑ Ð¸ ÑлеменÑÑ (:after, ::after и Ñ.д.)
+ comment комменÑаÑий
+ rules вÑе Ð¾Ñ "{" до "}"
+ value знаÑение ÑвойÑÑва внÑÑÑи пÑавила, вÑе Ð¾Ñ ":" до ";" или
+ до конÑа блока пÑавил
+ number ÑиÑло внÑÑÑи знаÑениÑ
+ string ÑÑÑока внÑÑÑи знаÑениÑ
+ hexcolor ÑеÑÑнадÑаÑеÑиÑнÑй ÑÐ²ÐµÑ (#FFFFFF) внÑÑÑи знаÑениÑ
+ function CSS-ÑÑнкÑÐ¸Ñ Ð²Ð½ÑÑÑи знаÑениÑ
+ params вÑе Ð¾Ñ "(" до ")" внÑÑÑи ÑÑнкÑии
+
+Django ("django"):
+
+ keyword Ñег HTML в HTML, вÑÑÑоеннÑе ÑаблоннÑе Ñеги и ÑилÑÑÑÑ Ð² ÑаблонаÑ
+ tag лÑбой оÑкÑÑваÑÑий или закÑÑваÑÑий Ñег Ð¾Ñ "<" до ">"
+ comment комменÑаÑий
+ doctype обÑÑвление <!DOCTYPE ... >
+ attribute аÑÑибÑÑ Ð²Ð½ÑÑÑи Ñега Ñо знаÑением или без
+ value знаÑение аÑÑибÑÑа
+ template_tag ÑаблоннÑй Ñег {% .. %}
+ variable ÑÐ°Ð±Ð»Ð¾Ð½Ð½Ð°Ñ Ð¿ÐµÑÐµÐ¼ÐµÐ½Ð½Ð°Ñ {{ .. }}
+ template_comment ÑаблоннÑй комменÑаÑий, и {# .. #}, и {% comment %}
+ filter ÑилÑÑÑ Ð¾Ñ "|" до ÑледÑÑÑего ÑилÑÑÑа или до конÑа Ñега
+ argument аÑгÑÐ¼ÐµÐ½Ñ ÑилÑÑÑа
+
+Javascript ("javascript"):
+
+ keyword клÑÑевое Ñлово ÑзÑка
+ comment комменÑаÑий
+ number ÑиÑло
+ literal ÑпеÑиалÑное Ñлово: "true", "false" и "null"
+ string ÑÑÑока
+ regexp ÑегÑлÑÑное вÑÑажение
+ function заголовок ÑÑнкÑии
+ title название ÑÑнкÑии внÑÑÑи заголовка
+ params вÑе, ÑÑо в ÑкобкаÑ
внÑÑÑи заголовка ÑÑнкÑии
+
+VBScript ("vbscript"):
+
+ keyword клÑÑевое Ñлово ÑзÑка
+ comment комменÑаÑий
+ number ÑиÑло
+ string ÑÑÑока
+ built_in вÑÑÑÐ¾ÐµÐ½Ð½Ð°Ñ ÑÑнкÑиÑ
+
+Lua ("lua"):
+
+ keyword клÑÑевое Ñлово ÑзÑка
+ number ÑиÑло
+ string ÑÑÑока
+ comment комменÑаÑий
+ built_in вÑÑÑоеннÑй опеÑаÑоÑ
+ function заголовок ÑÑнкÑии
+ title название ÑÑнкÑии внÑÑÑи заголовка
+ params вÑе, ÑÑо в ÑкобкаÑ
внÑÑÑи заголовка ÑÑнкÑии
+ long_brackets многоÑÑÑоÑÐ½Ð°Ñ ÑÑÑока в [=[ .. ]=]
+
+Delphi ("delphi"):
+
+ keyword клÑÑевое Ñлово ÑзÑка
+ comment комменÑаÑий (лÑбого Ñипа)
+ number ÑиÑло
+ string ÑÑÑока
+ function заголовок ÑÑнкÑии, пÑоÑедÑÑÑ, конÑÑÑÑкÑоÑа или деÑÑÑÑкÑоÑа
+ title название ÑÑнкÑии, пÑоÑедÑÑÑ, конÑÑÑÑкÑоÑа или деÑÑÑÑкÑоÑа
+ внÑÑÑи заголовка
+ params вÑе, ÑÑо в ÑкобкаÑ
внÑÑÑи заголовка ÑÑнкÑий
+ class Ñело клаÑÑа Ð¾Ñ "= class" до "end;"
+
+Java ("java"):
+
+ keyword клÑÑевое Ñлово ÑзÑка
+ number ÑиÑло
+ string ÑÑÑока
+ comment комменÑаÑий
+ annotaion анноÑаÑиÑ
+ javadoc javadoc-комменÑаÑии
+ class заголовок клаÑÑа Ð¾Ñ "class" до "{"
+ title название клаÑÑа внÑÑÑи заголовка
+ params вÑе, ÑÑо в ÑкобкаÑ
внÑÑÑи заголовка клаÑÑа
+ inheritance Ñлова "extends" и "implements" внÑÑÑи заголовка клаÑÑа
+
+C++ ("cpp"):
+
+ keyword клÑÑевое Ñлово ÑзÑка
+ built_in Ñип из ÑÑандаÑÑной библиоÑеки (вклÑÑÐ°Ñ STL)
+ number ÑиÑло
+ string ÑÑÑока и одиноÑнÑй Ñимвол
+ comment комменÑаÑий
+ preprocessor диÑекÑива пÑепÑоÑеÑÑоÑа
+ stl_container инÑÑанÑиÑование STL-конÑейнеÑов ("vector<...>")
+
+C# ("cs"):
+
+ keyword клÑÑевое Ñлово ÑзÑка
+ number ÑиÑло
+ string ÑÑÑока (вклÑÑÐ°Ñ @"..")
+ comment комменÑаÑий
+ xmlDocTag Ñег в xmldoc ("///", "<!--", "-->", "<..>")
+
+RenderMan RSL ("rsl"):
+
+ keyword клÑÑевое Ñлово ÑзÑка
+ number ÑиÑло
+ string ÑÑÑока
+ comment комменÑаÑий
+ preprocessor диÑекÑива пÑепÑоÑеÑÑоÑа
+ shader клÑÑевое Ñлово ÑейдеÑов
+ shading клÑÑевое Ñлово заÑенений
+ built_in вÑÑÑÐ¾ÐµÐ½Ð½Ð°Ñ ÑÑнкÑиÑ
+
+RenderMan RIB ("rib"):
+
+ keyword клÑÑевое Ñлово ÑзÑка
+ number ÑиÑло
+ string ÑÑÑока
+ comment комменÑаÑий
+ commands команда
+
+Maya Embedded Language ("mel"):
+
+ keyword клÑÑевое Ñлово ÑзÑка
+ number ÑиÑло
+ string ÑÑÑока
+ comment комменÑаÑий
+ variable пеÑеменнаÑ
+
+SQL ("sql"):
+
+ keyword клÑÑевое Ñлово (в оÑновном из SQL'92 и SQL'99)
+ number ÑиÑло
+ string ÑÑÑока (лÑбого Ñипа: "..", '..', `..`)
+ comment комменÑаÑий
+ aggregate агÑегаÑÐ½Ð°Ñ ÑÑнкÑиÑ
+
+Smalltalk ("smalltalk"):
+
+ keyword клÑÑевое Ñлово
+ number ÑиÑло
+ string ÑÑÑока
+ comment комменÑаÑий
+ symbol Ñимвол
+ array маÑÑив
+ class Ð¸Ð¼Ñ ÐºÐ»Ð°ÑÑа
+ char бÑква
+ localvars блок локалÑнÑÑ
пеÑеменнÑÑ
+
+Lisp ("lisp"):
+
+ keyword клÑÑевое Ñлово
+ number ÑиÑло
+ string ÑÑÑока
+ comment комменÑаÑий
+ variable пеÑеменнаÑ
+ literal b, t и nil
+ list неквоÑиÑованнÑй ÑпиÑок
+ title пеÑвÑй Ñимвол неквоÑиÑованного ÑпиÑка
+ body оÑÑаÑок неквоÑиÑованного ÑпиÑка
+ quoted_list квоÑиÑованнÑй ÑпиÑок: и "(quote .. )", и "'(..)"
+
+Ini ("ini"):
+
+ title заголовок ÑекÑии
+ value знаÑение наÑÑÑойки лÑбого Ñипа
+ string ÑÑÑока
+ number ÑиÑло
+ keyword клÑÑевое Ñлово бÑлевÑкого знаÑениÑ
+
+Apache ("apache"):
+
+ keyword клÑÑевое Ñлово
+ number ÑиÑло
+ comment комменÑаÑий
+ literal "On" и "Off"
+ sqbracket пеÑÐµÐ¼ÐµÐ½Ð½Ð°Ñ Ð² rewrite'аÑ
"%{..}"
+ cbracket опÑии в rewrite'аÑ
"[..]"
+ tag наÑало и ÐºÐ¾Ð½ÐµÑ Ñаздела конÑига
+
+Nginx ("nginx"):
+
+ keyword клÑÑевое Ñлово
+ string ÑÑÑока
+ number ÑиÑло
+ comment комменÑаÑий
+ built_in вÑÑÑÐ¾ÐµÐ½Ð½Ð°Ñ ÐºÐ¾Ð½ÑÑанÑа
+ variable $-пеÑеменнаÑ
+
+DOS ("dos"):
+
+ keyword клÑÑевое Ñлово
+ flow команда .bat-Ñайла
+ stream ÑпеÑиалÑнÑе ÑÐ°Ð¹Ð»Ñ DOS ("con", "prn", ...)
+ winutils некоÑоÑÑе (Ñм. dos.js за ÑпиÑком)
+ envvar пеÑÐµÐ¼ÐµÐ½Ð½Ð°Ñ Ð¾ÐºÑÑжениÑ
+
+Bash ("bash"):
+
+ keyword клÑÑевое Ñлово
+ string ÑÑÑока
+ number ÑиÑло
+ comment комменÑаÑий
+ literal ÑпеÑиалÑное Ñлово: "true" и "false"
+ variable пеÑеменнаÑ
+ shebang заголовок инÑеÑпÑеÑаÑоÑа ÑкÑипÑа
+
+Diff ("diff"):
+
+ header заголовок Ñайла
+ chunk заголовок кÑÑка внÑÑÑи Ñайла
+ addition добавленнÑе ÑÑÑоки
+ deletion ÑдаленнÑе ÑÑÑоки
+ change измененнÑе ÑÑÑоки
+
+Axapta ("axapta"):
+
+ keyword клÑÑевое Ñлово ÑзÑка
+ number ÑиÑло
+ string ÑÑÑока
+ comment комменÑаÑий
+ class заголовок клаÑÑа Ð¾Ñ "class" до "{"
+ title название клаÑÑа внÑÑÑи заголовка
+ params вÑе, ÑÑо в ÑкобкаÑ
внÑÑÑи заголовка клаÑÑа
+ inheritance Ñлова "extends" и "implements" внÑÑÑи заголовка клаÑÑа
+ preprocessor диÑекÑива пÑепÑоÑеÑÑоÑа
+
+1С ("1c"):
+
+ keyword клÑÑевое Ñлово ÑзÑка
+ number ÑиÑло
+ date даÑа
+ string ÑÑÑока
+ comment комменÑаÑий
+ function заголовок ÑÑнкÑии или пÑоÑедÑÑÑ
+ title название ÑÑнкÑии внÑÑÑи заголовка
+ params вÑе, ÑÑо в ÑкобкаÑ
внÑÑÑи заголовка ÑÑнкÑии
+ preprocessor диÑекÑива пÑепÑоÑеÑÑоÑа
+
+AVR аÑÑÐµÐ¼Ð±Ð»ÐµÑ ("avrasm"):
+
+ keyword клÑÑевое Ñлово ÑзÑка
+ built_in пÑедопÑеделеннÑй ÑегиÑÑÑ
+ number ÑиÑло
+ string ÑÑÑока
+ comment комменÑаÑий
+ label меÑка
+ preprocessor диÑекÑива пÑепÑоÑеÑÑоÑа
+ localvars подÑÑановка в .macro
+
+Parser3 ("parser3"):
+
+ keyword клÑÑевое Ñлово ÑзÑка
+ number ÑиÑло
+ comment комменÑаÑий
+ variable пеÑеменнаÑ, наÑинаÑÑаÑÑÑ Ñ "$"
+ preprocessor диÑекÑива пÑепÑоÑеÑÑоÑа
+ title полÑзоваÑелÑÑкое имÑ, наÑинаÑÑееÑÑ Ñ "@"
+
+TeX ("tex"):
+
+ comment комменÑаÑий
+ number ÑиÑло
+ command команда
+ parameter паÑамеÑÑ
+ formula ÑоÑмÑла
+ special ÑпеÑиалÑнÑй Ñимвол
+
+
+## ÐвÑиÑÑика
+
+ÐпÑеделение ÑзÑка, на коÑоÑом напиÑан ÑÑагменÑ, делаеÑÑÑ Ñ Ð¿Ð¾Ð¼Ð¾ÑÑÑ
+доволÑно пÑоÑÑой ÑвÑиÑÑики: пÑогÑамма пÑÑаеÑÑÑ ÑаÑÑвеÑиÑÑ ÑÑÐ°Ð³Ð¼ÐµÐ½Ñ Ð²Ñеми
+ÑзÑками подÑÑд, и Ð´Ð»Ñ ÐºÐ°Ð¶Ð´Ð¾Ð³Ð¾ ÑзÑка ÑÑиÑÐ°ÐµÑ ÐºÐ¾Ð»Ð¸ÑеÑÑво подоÑедÑиÑ
+ÑинÑакÑиÑеÑки конÑÑÑÑкÑий и клÑÑевÑÑ
Ñлов. ÐÐ»Ñ ÐºÐ°ÐºÐ¾Ð³Ð¾ ÑзÑка наÑлоÑÑ Ð±Ð¾Ð»ÑÑе,
+ÑÐ¾Ñ Ð¸ вÑбиÑаеÑÑÑ.
+
+ÐÑо ознаÑаеÑ, ÑÑо в коÑоÑкиÑ
ÑÑагменÑаÑ
вÑÑока веÑоÑÑноÑÑÑ Ð¾Ñибки, ÑÑо
+пеÑиодиÑеÑки и ÑлÑÑаеÑÑÑ. ЧÑÐ¾Ð±Ñ ÑказаÑÑ ÑзÑк ÑÑагменÑа Ñвно, надо напиÑаÑÑ
+его название в виде клаÑÑа к ÑлеменÑÑ `<code>`:
+
+ <pre><code class="html">...</code></pre>
+
+Ðожно иÑполÑзоваÑÑ ÑекомендованнÑе в HTML5 Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ñ ÐºÐ»Ð°ÑÑов:
+"language-html", "language-php". Также можно назнаÑаÑÑ ÐºÐ»Ð°ÑÑÑ Ð½Ð° ÑлеменÑ
+`<pre>`.
+
+ЧÑÐ¾Ð±Ñ Ð·Ð°Ð¿ÑеÑиÑÑ ÑаÑÑвеÑÐºÑ ÑÑагменÑа вообÑе, иÑполÑзÑеÑÑÑ ÐºÐ»Ð°ÑÑ "no-highlight":
+
+ <pre><code class="no-highlight">...</code></pre>
+
+## ÐооÑдинаÑÑ
+
+ÐеÑÑиÑ: 5.11
+URL: http://softwaremaniacs.org/soft/highlight/
+ÐвÑоÑ: Ðван Сагалаев (Maniac@SoftwareManiacs.Org)
+
+ÐиÑензионное ÑоглаÑение ÑиÑайÑе в Ñайле LICENSE.
+СпиÑок ÑоавÑоÑов ÑиÑайÑе в Ñайле AUTHORS.ru.txt
Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/readme.rus.txt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/readme.rus.txt
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: servicemix/sandbox/website20/src/main/webapp/highlight/styles/ascetic.css
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/highlight/styles/ascetic.css?rev=1026521&view=auto
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/highlight/styles/ascetic.css (added)
+++ servicemix/sandbox/website20/src/main/webapp/highlight/styles/ascetic.css Fri Oct 22 22:45:11 2010
@@ -0,0 +1,45 @@
+/*
+
+Original style from softwaremaniacs.org (c) Ivan Sagalaev <Ma...@SoftwareManiacs.Org>
+
+*/
+
+pre code {
+ display: block;
+ background: white; color: black;
+ border: solid #CCC 1px;
+}
+
+pre .string,
+pre .attribute .value,
+pre .filter .argument,
+pre .addition,
+pre .change,
+pre .apache .tag,
+pre .apache .cbracket,
+pre .nginx .built_in,
+pre .tex .formula {
+ color: #888;
+}
+
+pre .comment,
+pre .template_comment,
+pre .shebang,
+pre .doctype,
+pre .pi,
+pre .javadoc,
+pre .deletion,
+pre .apache .sqbracket {
+ color: #CCC;
+}
+
+pre .keyword,
+pre .tag .title,
+pre .ini .title,
+pre .winutils,
+pre .flow,
+pre .lisp .title,
+pre .apache .tag,
+pre .tex .command {
+ font-weight: bold;
+}
Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/styles/ascetic.css
------------------------------------------------------------------------------
svn:eol-style = native
Added: servicemix/sandbox/website20/src/main/webapp/highlight/styles/brown_paper.css
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/highlight/styles/brown_paper.css?rev=1026521&view=auto
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/highlight/styles/brown_paper.css (added)
+++ servicemix/sandbox/website20/src/main/webapp/highlight/styles/brown_paper.css Fri Oct 22 22:45:11 2010
@@ -0,0 +1,113 @@
+/*
+
+Brown Paper style from goldblog.com.ua (c) Zaripov Yura <yu...@ukr.net>
+
+*/
+
+pre code[class]:after {
+ content: 'highlight: ' attr(class);
+ display: block; text-align: right;
+ font-size: smaller;
+ color: #2c2c2c; background: transparent;
+ border-top: solid 1px black;
+ padding-top: 0.5em;
+}
+
+pre code {
+ display: block;
+ background:#b7a68e url(./brown_papersq.png);
+ padding-left:10px;
+ padding-top:10px;
+}
+
+pre .keyword,
+pre .literal,
+pre .change,
+pre .winutils,
+pre .flow,
+pre .lisp .title,
+pre .tex .special {
+ color:#005599;
+ font-weight:bold;
+}
+
+pre code,
+pre .ruby .subst {
+ color: #363C69;
+}
+
+pre .string,
+pre .function .title,
+pre .class .title,
+pre .ini .title,
+pre .tag .attribute .value,
+pre .css .rules .value,
+pre .preprocessor,
+pre .ruby .symbol,
+pre .ruby .symbol .string,
+pre .ruby .symbol .keyword,
+pre .ruby .symbol .keymethods,
+pre .ruby .instancevar,
+pre .ruby .class .parent,
+pre .built_in,
+pre .sql .aggregate,
+pre .django .template_tag,
+pre .django .variable,
+pre .smalltalk .class,
+pre .javadoc,
+pre .ruby .string,
+pre .django .filter .argument,
+pre .smalltalk .localvars,
+pre .smalltalk .array,
+pre .attr_selector,
+pre .pseudo,
+pre .addition,
+pre .stream,
+pre .envvar,
+pre .apache .tag,
+pre .apache .cbracket,
+pre .tex .number {
+ color: #2C009F;
+}
+
+pre .comment,
+pre .java .annotation,
+pre .python .decorator,
+pre .template_comment,
+pre .pi,
+pre .doctype,
+pre .deletion,
+pre .shebang,
+pre .apache .sqbracket,
+pre .nginx .built_in,
+pre .tex .formula {
+ color: #802022;
+}
+
+pre .keyword,
+pre .literal,
+pre .css .id,
+pre .phpdoc,
+pre .function .title,
+pre .class .title,
+pre .vbscript .built_in,
+pre .sql .aggregate,
+pre .rsl .built_in,
+pre .smalltalk .class,
+pre .xml .tag .title,
+pre .diff .header,
+pre .chunk,
+pre .winutils,
+pre .bash .variable,
+pre .lisp .title,
+pre .apache .tag,
+pre .tex .command {
+ font-weight: bold;
+}
+
+pre .html .css,
+pre .html .javascript,
+pre .html .vbscript,
+pre .tex .formula {
+ opacity: 0.8;
+}
Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/styles/brown_paper.css
------------------------------------------------------------------------------
svn:eol-style = native
Added: servicemix/sandbox/website20/src/main/webapp/highlight/styles/brown_papersq.png
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/highlight/styles/brown_papersq.png?rev=1026521&view=auto
==============================================================================
Binary file - no diff available.
Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/styles/brown_papersq.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: servicemix/sandbox/website20/src/main/webapp/highlight/styles/dark.css
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/highlight/styles/dark.css?rev=1026521&view=auto
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/highlight/styles/dark.css (added)
+++ servicemix/sandbox/website20/src/main/webapp/highlight/styles/dark.css Fri Oct 22 22:45:11 2010
@@ -0,0 +1,109 @@
+/*
+
+Dark style from softwaremaniacs.org (c) Ivan Sagalaev <Ma...@SoftwareManiacs.Org>
+
+*/
+
+pre code[class]:after {
+ content: 'highlight: ' attr(class);
+ display: block; text-align: right;
+ font-size: smaller;
+ color: #CCC; background: white;
+ border-top: solid 1px black;
+ padding-top: 0.5em;
+}
+
+pre code {
+ display: block;
+ background: #444;
+}
+
+pre .keyword,
+pre .literal,
+pre .change,
+pre .winutils,
+pre .flow,
+pre .lisp .title,
+pre .tex .special {
+ color: white;
+}
+
+pre code,
+pre .ruby .subst {
+ color: #DDD;
+}
+
+pre .string,
+pre .function .title,
+pre .class .title,
+pre .ini .title,
+pre .tag .attribute .value,
+pre .css .rules .value,
+pre .preprocessor,
+pre .ruby .symbol,
+pre .ruby .symbol .string,
+pre .ruby .symbol .keyword,
+pre .ruby .symbol .keymethods,
+pre .ruby .instancevar,
+pre .ruby .class .parent,
+pre .built_in,
+pre .sql .aggregate,
+pre .django .template_tag,
+pre .django .variable,
+pre .smalltalk .class,
+pre .javadoc,
+pre .ruby .string,
+pre .django .filter .argument,
+pre .smalltalk .localvars,
+pre .smalltalk .array,
+pre .attr_selector,
+pre .pseudo,
+pre .addition,
+pre .stream,
+pre .envvar,
+pre .apache .tag,
+pre .apache .cbracket,
+pre .tex .command {
+ color: #D88;
+}
+
+pre .comment,
+pre .java .annotation,
+pre .python .decorator,
+pre .template_comment,
+pre .pi,
+pre .doctype,
+pre .deletion,
+pre .shebang,
+pre .apache .sqbracket,
+pre .tex .formula {
+ color: #777;
+}
+
+pre .keyword,
+pre .literal,
+pre .css .id,
+pre .phpdoc,
+pre .function .title,
+pre .class .title,
+pre .vbscript .built_in,
+pre .sql .aggregate,
+pre .rsl .built_in,
+pre .smalltalk .class,
+pre .xml .tag .title,
+pre .diff .header,
+pre .chunk,
+pre .winutils,
+pre .bash .variable,
+pre .lisp .title,
+pre .apache .tag,
+pre .tex .special {
+ font-weight: bold;
+}
+
+pre .html .css,
+pre .html .javascript,
+pre .html .vbscript,
+pre .tex .formula {
+ opacity: 0.5;
+}
Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/styles/dark.css
------------------------------------------------------------------------------
svn:eol-style = native
Added: servicemix/sandbox/website20/src/main/webapp/highlight/styles/default.css
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/highlight/styles/default.css?rev=1026521&view=auto
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/highlight/styles/default.css (added)
+++ servicemix/sandbox/website20/src/main/webapp/highlight/styles/default.css Fri Oct 22 22:45:11 2010
@@ -0,0 +1,123 @@
+/*
+
+Original style from softwaremaniacs.org (c) Ivan Sagalaev <Ma...@SoftwareManiacs.Org>
+
+*/
+
+pre code[class]:after {
+ content: 'highlight: ' attr(class);
+ display: block; text-align: right;
+ font-size: smaller;
+ color: #CCC; background: white;
+ border-top: solid 1px;
+ padding-top: 0.5em;
+}
+
+pre code {
+ display: block;
+ background: #F0F0F0;
+}
+
+pre code,
+pre .ruby .subst,
+pre .xml .title,
+pre .lisp .title {
+ color: black;
+}
+
+pre .string,
+pre .title,
+pre .constant,
+pre .parent,
+pre .tag .attribute .value,
+pre .rules .value,
+pre .rules .value .number,
+pre .preprocessor,
+pre .ruby .symbol,
+pre .ruby .symbol .string,
+pre .ruby .symbol .keyword,
+pre .ruby .symbol .keymethods,
+pre .instancevar,
+pre .aggregate,
+pre .template_tag,
+pre .django .variable,
+pre .smalltalk .class,
+pre .addition,
+pre .flow,
+pre .stream,
+pre .bash .variable,
+pre .apache .tag,
+pre .apache .cbracket,
+pre .tex .command,
+pre .tex .special {
+ color: #800;
+}
+
+pre .comment,
+pre .annotation,
+pre .template_comment,
+pre .diff .header,
+pre .chunk {
+ color: #888;
+}
+
+pre .number,
+pre .date,
+pre .regexp,
+pre .literal,
+pre .smalltalk .symbol,
+pre .smalltalk .char,
+pre .change {
+ color: #080;
+}
+
+pre .label,
+pre .javadoc,
+pre .ruby .string,
+pre .decorator,
+pre .filter .argument,
+pre .localvars,
+pre .array,
+pre .attr_selector,
+pre .pseudo,
+pre .pi,
+pre .doctype,
+pre .deletion,
+pre .envvar,
+pre .shebang,
+pre .apache .sqbracket,
+pre .nginx .built_in,
+pre .tex .formula {
+ color: #88F;
+}
+
+pre .javadoctag,
+pre .phpdoc,
+pre .yardoctag {
+ font-weight: bold;
+}
+
+pre .keyword,
+pre .id,
+pre .phpdoc,
+pre .title,
+pre .built_in,
+pre .aggregate,
+pre .smalltalk .class,
+pre .winutils,
+pre .bash .variable,
+pre .apache .tag,
+pre .tex .command {
+ font-weight: bold;
+}
+
+pre .nginx .built_in {
+ font-weight: normal;
+}
+
+pre .html .css,
+pre .html .javascript,
+pre .html .vbscript,
+pre .tex .formula {
+ opacity: 0.5;
+}
Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/styles/default.css
------------------------------------------------------------------------------
svn:eol-style = native
Added: servicemix/sandbox/website20/src/main/webapp/highlight/styles/far.css
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/highlight/styles/far.css?rev=1026521&view=auto
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/highlight/styles/far.css (added)
+++ servicemix/sandbox/website20/src/main/webapp/highlight/styles/far.css Fri Oct 22 22:45:11 2010
@@ -0,0 +1,123 @@
+/*
+
+FAR Style (c) MajestiC <ma...@gmail.com>
+
+*/
+
+pre code[class]:after {
+ content: 'highlight: ' attr(class);
+ display: block; text-align: right;
+ font-size: smaller;
+ color: #CCC; background: white;
+ border-top: solid 1px;
+ padding-top: 0.5em;
+}
+
+pre code {
+ display: block;
+ background: #000080;
+}
+
+pre code,
+.ruby .subst {
+ color: #0FF;
+}
+
+pre .string,
+pre .ruby .string,
+pre .function .title,
+pre .class .title,
+pre .ini .title,
+pre .tag .attribute .value,
+pre .css .rules .value,
+pre .css .rules .value .number,
+pre .preprocessor,
+pre .ruby .symbol,
+pre .ruby .symbol .string,
+pre .ruby .symbol .keyword,
+pre .ruby .symbol .keymethods,
+pre .built_in,
+pre .sql .aggregate,
+pre .django .template_tag,
+pre .django .variable,
+pre .smalltalk .class,
+pre .addition,
+pre .apache .tag,
+pre .apache .cbracket,
+pre .tex .command {
+ color: #FF0;
+}
+
+pre .keyword,
+pre .css .id,
+pre .function .title,
+pre .class .title,
+pre .ini .title,
+pre .vbscript .built_in,
+pre .sql .aggregate,
+pre .rsl .built_in,
+pre .smalltalk .class,
+pre .xml .tag .title,
+pre .winutils,
+pre .flow,
+pre .lisp .title,
+pre .change,
+pre .envvar,
+pre .bash .variable,
+pre .tex .special {
+ color: #FFF;
+}
+
+pre .comment,
+pre .phpdoc,
+pre .javadoc,
+pre .java .annotation,
+pre .template_comment,
+pre .deletion,
+pre .apache .sqbracket,
+pre .tex .formula {
+ color: #888;
+}
+
+pre .number,
+pre .date,
+pre .regexp,
+pre .literal,
+pre .smalltalk .symbol,
+pre .smalltalk .char {
+ color: #0F0;
+}
+
+pre .python .decorator,
+pre .django .filter .argument,
+pre .smalltalk .localvars,
+pre .smalltalk .array,
+pre .attr_selector,
+pre .pseudo,
+pre .xml .pi,
+pre .diff .header,
+pre .chunk,
+pre .shebang,
+pre .nginx .built_in {
+ color: #008080;
+}
+
+pre .keyword,
+pre .css .id,
+pre .function .title,
+pre .class .title,
+pre .ini .title,
+pre .vbscript .built_in,
+pre .sql .aggregate,
+pre .rsl .built_in,
+pre .smalltalk .class,
+pre .xml .tag .title,
+pre .winutils,
+pre .flow,
+pre .lisp .title,
+pre .apache .tag,
+pre .nginx .built_in,
+pre .tex .command,
+pre .tex .special {
+ font-weight: bold;
+}
Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/styles/far.css
------------------------------------------------------------------------------
svn:eol-style = native
Added: servicemix/sandbox/website20/src/main/webapp/highlight/styles/github.css
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/highlight/styles/github.css?rev=1026521&view=auto
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/highlight/styles/github.css (added)
+++ servicemix/sandbox/website20/src/main/webapp/highlight/styles/github.css Fri Oct 22 22:45:11 2010
@@ -0,0 +1,128 @@
+/*
+
+github.com style (c) Vasily Polovnyov <va...@whiteants.net>
+
+*/
+
+pre code {
+ display: block;
+ color: #000;
+ background: #f8f8ff
+}
+
+pre .comment,
+pre .template_comment,
+pre .diff .header,
+pre .javadoc {
+ color: #998;
+ font-style: italic
+}
+
+pre .keyword,
+pre .css .rule .keyword,
+pre .winutils,
+pre .javascript .title,
+pre .lisp .title,
+pre .subst {
+ color: #000;
+ font-weight: bold
+}
+
+pre .number,
+pre .hexcolor {
+ color: #40a070
+}
+
+pre .string,
+pre .attribute .value,
+pre .phpdoc,
+pre .tex .formula {
+ color: #d14
+}
+
+pre .title,
+pre .id {
+ color: #900;
+ font-weight: bold
+}
+
+pre .javascript .title,
+pre .lisp .title,
+pre .subst {
+ font-weight: normal
+}
+
+pre .class .title,
+pre .tex .command {
+ color: #458;
+ font-weight: bold
+}
+
+pre .tag,
+pre .css .keyword,
+pre .html .keyword,
+pre .tag .title,
+pre .django .tag .keyword {
+ color: #000080;
+ font-weight: normal
+}
+
+pre .attribute,
+pre .variable,
+pre .instancevar,
+pre .lisp .body {
+ color: #008080
+}
+
+pre .regexp {
+ color: #009926
+}
+
+pre .class {
+ color: #458;
+ font-weight: bold
+}
+
+pre .symbol,
+pre .ruby .symbol .string,
+pre .ruby .symbol .keyword,
+pre .ruby .symbol .keymethods,
+pre .lisp .keyword,
+pre .tex .special {
+ color: #990073
+}
+
+pre .builtin,
+pre .built_in,
+pre .lisp .title {
+ color: #0086b3
+}
+
+pre .preprocessor,
+pre .pi,
+pre .doctype,
+pre .shebang,
+pre .cdata {
+ color: #999;
+ font-weight: bold
+}
+
+pre .deletion {
+ background: #fdd
+}
+
+pre .addition {
+ background: #dfd
+}
+
+pre .diff .change {
+ background: #0086b3
+}
+
+pre .chunk {
+ color: #aaa
+}
+
+pre .tex .formula {
+ opacity: 0.5;
+}
Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/styles/github.css
------------------------------------------------------------------------------
svn:eol-style = native
Added: servicemix/sandbox/website20/src/main/webapp/highlight/styles/idea.css
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/highlight/styles/idea.css?rev=1026521&view=auto
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/highlight/styles/idea.css (added)
+++ servicemix/sandbox/website20/src/main/webapp/highlight/styles/idea.css Fri Oct 22 22:45:11 2010
@@ -0,0 +1,117 @@
+/*
+
+Intellij Idea-like styling (c) Vasily Polovnyov <va...@whiteants.net>
+
+*/
+
+pre code {
+ display: block;
+ color: #000;
+ background: #fff;
+}
+
+pre .subst,
+pre .title {
+ font-weight: normal;
+ color: #000;
+}
+
+pre .comment,
+pre .template_comment,
+pre .javadoc,
+pre .diff .header {
+ color: #808080;
+ font-style: italic;
+}
+
+pre .annotation,
+pre .decorator,
+pre .preprocessor,
+pre .doctype,
+pre .pi,
+pre .chunk,
+pre .shebang,
+pre .apache .cbracket {
+ color: #808000;
+}
+
+pre .tag,
+pre .pi {
+ background: #efefef;
+}
+
+pre .tag .title,
+pre .id,
+pre .attr_selector,
+pre .pseudo,
+pre .literal,
+pre .keyword,
+pre .hexcolor,
+pre .css .function,
+pre .ini .title,
+pre .css .class,
+pre .list .title,
+pre .tex .command {
+ font-weight: bold;
+ color: #000080;
+}
+
+pre .attribute,
+pre .rules .keyword,
+pre .number,
+pre .date,
+pre .regexp,
+pre .tex .special {
+ font-weight: bold;
+ color: #0000ff;
+}
+
+pre .number,
+pre .regexp {
+ font-weight: normal;
+}
+
+pre .string,
+pre .value,
+pre .filter .argument,
+pre .css .function .params,
+pre .apache .tag {
+ color: #008000;
+ font-weight: bold;
+}
+
+pre .symbol,
+pre .ruby .symbol .string,
+pre .ruby .symbol .keyword,
+pre .ruby .symbol .keymethods,
+pre .char,
+pre .tex .formula {
+ color: #000;
+ background: #d0eded;
+ font-style: italic;
+}
+
+pre .phpdoc,
+pre .yardoctag,
+pre .javadoctag {
+ text-decoration: underline;
+}
+
+pre .variable,
+pre .envvar,
+pre .apache .sqbracket,
+pre .nginx .built_in {
+ color: #660e7a;
+}
+
+pre .addition {
+ background: #baeeba;
+}
+
+pre .deletion {
+ background: #ffc8bd;
+}
+
+pre .diff .change {
+ background: #bccff9;
+}
Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/styles/idea.css
------------------------------------------------------------------------------
svn:eol-style = native
Added: servicemix/sandbox/website20/src/main/webapp/highlight/styles/ir_black.css
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/highlight/styles/ir_black.css?rev=1026521&view=auto
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/highlight/styles/ir_black.css (added)
+++ servicemix/sandbox/website20/src/main/webapp/highlight/styles/ir_black.css Fri Oct 22 22:45:11 2010
@@ -0,0 +1,105 @@
+/*
+ IR_Black style (c) Vasily Mikhailitchenko <va...@programica.ru>
+*/
+
+pre code {
+ color: #f8f8f8;
+}
+
+pre {
+ background: #000;
+}
+
+pre .shebang,
+pre .comment,
+pre .template_comment,
+pre .javadoc {
+ color: #7c7c7c;
+}
+
+pre .keyword,
+pre .tag,
+pre .ruby .function .keyword,
+pre .tex .command {
+ color: #96CBFE;
+}
+
+pre .function .keyword,
+pre .sub .keyword,
+pre .method,
+pre .list .title {
+ color: #FFFFB6;
+}
+
+pre .string,
+pre .attribute .value,
+pre .cdata,
+pre .filter .argument,
+pre .attr_selector,
+pre .apache .cbracket,
+pre .date {
+ color: #A8FF60;
+}
+
+pre .subst {
+ color: #DAEFA3;
+}
+
+pre .regexp {
+ color: #E9C062;
+}
+
+pre .function .title,
+pre .sub .identifier,
+pre .pi,
+pre .decorator,
+pre .ini .title,
+pre .tex .special {
+ color: #FFFFB6;
+}
+
+pre .class .title,
+pre .constant,
+pre .smalltalk .class,
+pre .javadoctag,
+pre .yardoctag,
+pre .phpdoc,
+pre .nginx .built_in {
+ color: #FFFFB6;
+}
+
+pre .symbol,
+pre .ruby .symbol .string,
+pre .ruby .symbol .keyword,
+pre .ruby .symbol .keymethods,
+pre .number,
+pre .variable,
+pre .vbscript,
+pre .literal {
+ color: #C6C5FE;
+}
+
+pre .css .keyword {
+ color: #96CBFE;
+}
+
+pre .css .rule .keyword,
+pre .css .id {
+ color: #FFFFB6;
+}
+
+pre .css .class {
+ color: #FFF;
+}
+
+pre .hexcolor {
+ color: #C6C5FE;
+}
+
+pre .number {
+ color:#FF73FD;
+}
+
+pre .tex .formula {
+ opacity: 0.7;
+}
Propchange: servicemix/sandbox/website20/src/main/webapp/highlight/styles/ir_black.css
------------------------------------------------------------------------------
svn:eol-style = native