geshi langs

This commit is contained in:
Claude 2012-05-04 22:25:00 +02:00
parent 65a9aaa7b1
commit e3b21ca930

View File

@ -9,23 +9,6 @@ if (!defined('BASEPATH')) exit('No direct script access allowed');
//codemirror languages //codemirror languages
$config['codemirror_languages'] = array( $config['codemirror_languages'] = array(
'html4strict' => array(
'mode' => 'htmlmixed',
'js' => array(
array(
'codemirror/mode/xml/xml.js'
) ,
array(
'codemirror/mode/javascript/javascript.js'
) ,
array(
'codemirror/mode/css/css.js'
) ,
array(
'codemirror/mode/htmlmixed/htmlmixed.js'
) ,
) ,
) ,
'html5' => array( 'html5' => array(
'mode' => 'htmlmixed', 'mode' => 'htmlmixed',
'js' => array( 'js' => array(
@ -168,22 +151,45 @@ $config['codemirror_languages'] = array(
) , ) ,
) , ) ,
'text' => 'Plain Text', 'text' => 'Plain Text',
'4cs' => '4CS',
'6502acme' => 'MOS 6502',
'6502kickass' => 'MOS 6502 Kick Assembler',
'6502tasm' => 'MOS 6502 TASM/64TASS',
'68000devpac' => 'Motorola 68000 Devpac Assembler',
'abap' => 'ABAP', 'abap' => 'ABAP',
'actionscript' => 'Actionscript', 'actionscript' => 'Actionscript',
'ada' => 'ADA', 'actionscript3' => 'ActionScript3',
'apache' => 'Apache Log', 'ada' => 'Ada',
'algol68' => 'ALGOL 68',
'apache' => 'Apache',
'applescript' => 'AppleScript', 'applescript' => 'AppleScript',
'asm' => 'Assembler', 'apt_sources' => 'Apt sources.list',
'asm' => 'x86 Assembler',
'asp' => 'ASP', 'asp' => 'ASP',
'autoit' => 'AutoIt', 'autoconf' => 'autoconf',
'blitzbasic' => 'Blitzbasic', 'autohotkey' => 'Autohotkey',
'bnf' => 'Backus-Naur-Form', 'autoit' => 'AutoIT',
'avisynth' => 'AviSynth',
'awk' => 'Awk',
'bascomavr' => 'BASCOM AVR',
'basic4gl' => 'Basic4GL',
'bf' => 'Brainfuck',
'bibtex' => 'BibTeX',
'blitzbasic' => 'BlitzBasic',
'bnf' => 'BNF (Backus-Naur form)',
'boo' => 'Boo',
'c_loadrunner' => 'C (for LoadRunner)',
'c_mac' => 'C for Macs', 'c_mac' => 'C for Macs',
'caddcl' => 'CAD DCL', 'caddcl' => 'CAD DCL (Dialog Control Language)',
'cadlisp' => 'CAD Lisp', 'cadlisp' => 'AutoCAD/IntelliCAD Lisp',
'cfdg' => 'CFDG', 'cfdg' => 'CFDG',
'cfm' => 'CFM', 'cfm' => 'ColdFusion',
'cpp-qt' => 'C++ QT', 'chaiscript' => 'ChaiScript',
'cil' => 'CIL (Common Intermediate Language)',
'clojure' => 'Clojure',
'cmake' => 'CMake',
'cobol' => 'COBOL',
'coffeescript' => 'CoffeeScript',
'csharp' => array( 'csharp' => array(
'mode' => 'text/x-csharp', 'mode' => 'text/x-csharp',
'js' => array( 'js' => array(
@ -192,22 +198,62 @@ $config['codemirror_languages'] = array(
) , ) ,
) , ) ,
) , ) ,
'cuesheet' => 'Cuesheet',
'd' => 'D', 'd' => 'D',
'delphi' => 'Delphi', 'dcs' => 'DCS',
'delphi' => 'Delphi (Object Pascal)',
'div' => 'DIV', 'div' => 'DIV',
'dos' => 'DOS', 'dos' => 'DOS',
'dot' => 'dot', 'dot' => 'dot',
'e' => 'E',
'ecmascript' => 'ECMAScript',
'eiffel' => 'Eiffel', 'eiffel' => 'Eiffel',
'email' => 'Email (mbox/eml/RFC format)',
'epc' => 'Enerscript',
'euphoria' => 'Euphoria',
'f1' => 'Formula One',
'falcon' => 'Falcon',
'fo' => 'fo',
'fortran' => 'Fortran', 'fortran' => 'Fortran',
'freebasic' => 'FreeBasic', 'freebasic' => 'FreeBasic',
'fsharp' => 'F#',
'gambas' => 'GAMBAS',
'gdb' => 'GDB',
'genero' => 'Genero', 'genero' => 'Genero',
'genie' => 'Genie',
'gettext' => 'GNU Gettext .po/.pot',
'glsl' => 'glSlang',
'gml' => 'GML', 'gml' => 'GML',
'gnuplot' => 'Gnuplot script',
'groovy' => 'Groovy', 'groovy' => 'Groovy',
'gwbasic' => 'GwBasic',
'haskell' => 'Haskell', 'haskell' => 'Haskell',
'hicest' => 'HicEst',
'hq9plus' => 'HQ9+',
'html4strict' => array(
'mode' => 'htmlmixed',
'js' => array(
array(
'codemirror/mode/xml/xml.js'
) ,
array(
'codemirror/mode/javascript/javascript.js'
) ,
array(
'codemirror/mode/css/css.js'
) ,
array(
'codemirror/mode/htmlmixed/htmlmixed.js'
) ,
) ,
) ,
'icon' => 'Icon',
'idl' => 'Unoidl', 'idl' => 'Unoidl',
'ini' => 'INI', 'ini' => 'INI',
'inno' => 'Inno Script', 'inno' => 'Inno Script',
'intercal' => 'INTERCAL',
'io' => 'Io', 'io' => 'Io',
'j' => 'J',
'java' => array( 'java' => array(
'mode' => 'text/x-java', 'mode' => 'text/x-java',
'js' => array( 'js' => array(
@ -224,11 +270,32 @@ $config['codemirror_languages'] = array(
) , ) ,
) , ) ,
) , ) ,
'lisp' => 'Lisp', 'jquery' => 'jQuery 1.3',
'm68k' => 'm68k',
'matlab' => 'Matlab', //'kixtart' => 'PHP',
'mirc' => 'mIRC', 'klonec' => 'KLone with C',
'mpasm' => 'MPASM', 'klonecpp' => 'KLone with C++',
'lb' => 'Liberty BASIC',
'lisp' => 'Generic Lisp',
'llvm' => 'LLVM',
'locobasic' => 'Locomotive Basic (Amstrad CPC series)',
'logtalk' => 'Logtalk',
'lolcode' => 'LOLcode',
'lotusformulas' => '@Formula/@Command',
'lotusscript' => 'LotusScript',
'lscript' => 'Lightwave Script',
'lsl2' => 'Linden Scripting',
'm68k' => 'Motorola 68000 Assembler',
'magiksf' => 'MagikSF',
'make' => 'Make',
'mapbasic' => 'MapBasic',
'matlab' => 'Matlab M-file',
'mirc' => 'mIRC Scripting',
'mmix' => 'MMIX Assembler',
'modula2' => 'Modula-2',
'modula3' => 'Modula-3',
'mpasm' => 'Microchip Assembler',
'mxml' => 'MXML',
'mysql' => array( 'mysql' => array(
'mode' => 'mysql', 'mode' => 'mysql',
'js' => array( 'js' => array(
@ -237,32 +304,76 @@ $config['codemirror_languages'] = array(
) , ) ,
) , ) ,
) , ) ,
'nsis' => 'NSIS', 'newlisp' => 'newLISP',
'objc' => 'Objective C', 'nsis' => 'Nullsoft Scriptable Install System',
'ocaml' => 'ocaml', 'oberon2' => 'Oberon-2',
'objc' => 'Objective-C',
'objeck' => 'Objeck Programming Language',
'ocaml' => 'OCaml (Objective Caml)',
'oobas' => 'OpenOffice.org Basic', 'oobas' => 'OpenOffice.org Basic',
'oracle8' => 'Orcale 8 SQL', 'oracle11' => 'Oracle 11i',
'oracle8' => 'Oracle 8',
'oxygene' => 'Delphi Prism (Oxygene)',
'oz' => 'Oz',
'pascal' => 'Pascal', 'pascal' => 'Pascal',
'per' => 'Per', 'pcre' => 'PCRE',
'per' => 'Per (forms)',
'perl' => 'Perl', 'perl' => 'Perl',
'plsql' => 'PL/SQL', 'perl6' => 'Perl 6',
'qbasic' => 'QBasic', 'pf' => 'OpenBSD packet filter',
'rails' => 'Rails', 'pic16' => 'PIC16 Assembler',
'reg' => 'Registry', 'pike' => 'Pike',
'pixelbender' => 'Pixel Bender 1.0',
'pli' => 'PL/I',
'plsql' => 'Oracle 9.2 PL/SQL',
'postgresql' => 'PostgreSQL',
'povray' => 'Povray',
'powerbuilder' => 'PowerBuilder (PowerScript)',
'powershell' => 'PowerShell',
'proftpd' => 'ProFTPd',
'progress' => 'Progress',
'prolog' => 'Prolog',
'properties' => 'Property',
'providex' => 'ProvideX',
'purebasic' => 'PureBasic',
'q' => 'q/kdb+',
'qbasic' => 'QBasic/QuickBASIC',
'rails' => 'Ruby (with Ruby on Rails Framework)',
'rebol' => 'Rebol',
'reg' => 'Microsoft Registry Editor',
'robots' => 'robots.txt', 'robots' => 'robots.txt',
'rpmspec' => 'RPM Spec',
'rsplus' => 'R',
'sas' => 'SAS', 'sas' => 'SAS',
'scala' => 'Scala',
'scheme' => 'Scheme', 'scheme' => 'Scheme',
'scilab' => 'SciLab',
'sdlbasic' => 'sdlBasic', 'sdlbasic' => 'sdlBasic',
'smalltalk' => 'Smalltalk', 'smalltalk' => 'Smalltalk',
'smarty' => 'Smarty', 'smarty' => 'Smarty template',
'tcl' => 'TCL', 'systemverilog' => 'SystemVerilog IEEE 1800-2009(draft8)',
'tcl' => 'TCL/iTCL',
'teraterm' => 'Tera Term Macro',
'thinbasic' => 'thinBasic', 'thinbasic' => 'thinBasic',
'tsql' => 'T-SQL', 'tsql' => 'T-SQL',
'typoscript' => 'TypoScript',
'unicon' => 'Unicon',
'uscript' => 'UnrealScript',
'vala' => 'Vala',
'vb' => 'Visual Basic', 'vb' => 'Visual Basic',
'vbnet' => 'VB.NET', 'vbnet' => 'VB.NET',
'verilog' => 'Verilog',
'vhdl' => 'VHDL', 'vhdl' => 'VHDL',
'vim' => 'Vim scripting',
'visualfoxpro' => 'Visual FoxPro', 'visualfoxpro' => 'Visual FoxPro',
'visualprolog' => 'Visual Prolog',
'whitespace' => 'Whitespace',
'whois' => 'Whois response (RPSL format)',
'winbatch' => 'WinBatch', 'winbatch' => 'WinBatch',
'xpp' => 'X++', 'xbasic' => 'XBasic',
'z80' => 'Z80', 'xorg_conf' => 'xorg.conf',
'xpp' => 'Axapta/Dynamics Ax X++',
'yaml' => 'YAML',
'z80' => 'ZiLOG Z80 Assembler',
'zxbasic' => 'ZXBasic',
); );