WHAT IS THIS:
- Web based api for syntax highlight.
USAGE:
- endpoint: http://lab.koshigoe.jp/geshi_webapi/syntax_highlight.php
- method: [GET|POST]
- parameters:
- lang: (string) [eiffel|actionscript|ada|apache|applescript|asm|asp|autoit|bash|blitzbasic|bnf|c|c_mac|caddcl|cadlisp|cfdg|cfm|cpp|csharp|css|d|delphi|diff|div|dos|freebasic|fortran|groovy|gml|visualfoxpro|html4strict|idl|ini|inno|io|java|java5|javascript|latex|lisp|lua|matlab|mirc|mpasm|mysql|nsis|objc|ocaml-brief|ocaml|oobas|oracle8|pascal|perl|php-brief|php|python|qbasic|reg|robots|ruby|sas|scheme|sdlbasic|smalltalk|smarty|sql|tcl|text|thinbasic|tsql|vb|vbnet|vhdl|xml|winbatch]
- source: (string) Source Code
- output_mode: (string) [raw|xml|json|jsonp]
- callback: (string) callback function name
OUTPUT:
- xml:
- <highlightedSource>***</highlightedSource>
- json,jsonp
- {"highlighted_source":"***"}
AUTHOR:
- Koshigoe Bushou <Koshigoe at gmail.com>
SITE:
- https://mirror2.cvsdude.com/trac/koshigoe/prototype/wiki/geshi_webapi
THANKS:
- GeSHi(http://qbnz.com/highlighter/)