Anonymous user
Help talk:GeSHi: Difference between revisions
why does Wikipedia's have more language support?
(New section: Page error?) |
(why does Wikipedia's have more language support?) |
||
Line 37:
Don't know if that's anything anyone can fix. --[[User:Mwn3d|Mwn3d]] 13:32, 8 March 2008 (MST)
== Wikipedia's version? ==
When you try to use an unsupported language via <nowiki><source lang="lang"></nowiki>, you get an error that lists quite a few more supported languages. Is there a way to use the version of GeSHi that wikipedia is using?
'''GeSHi Error:''' GeSHi could not find the language forth (using path /usr/local/apache/common-local/php-1.5/lib/GeSHi-1.0.7.19-wm1/geshi/) (code 2)
You need to specify a language like this: <nowiki><source lang="html">...</source></nowiki>
Supported languages for syntax highlighting:
actionscript, ada, apache, applescript, asm, asp, autoit, bash, blitzbasic, bnf, c, c_mac, caddcl, cadlisp, cfdg, cfm, cpp, cpp-qt, csharp, css, d, delphi, diff, div, dos, eiffel, fortran, freebasic, gml, groovy, html4strict, idl, ini, inno, io, java, java5, javascript, latex, lisp, lua, matlab, mirc, mpasm, mysql, nsis, objc, ocaml, ocaml-brief, oobas, oracle8, pascal, perl, php, php-brief, plsql, python, qbasic, rails, reg, robots, ruby, sas, scheme, sdlbasic, smalltalk, smarty, sql, tcl, text, thinbasic, tsql, vb, vbnet, vhdl, visualfoxpro, winbatch, xml, xpp, z80
|