Manual:Syntax Highlighting

From Director Online Wiki
Jump to: navigation, search

Description

This Directorforum Collab Wiki has syntax highlighting features, which you can use to make your posted code readable. Currently 87 types of syntax highlighting are supported (see below list for details).

Markup

The following markup ..

<source lang=lingo>
-- example Lingo code
on exitFrame me
  _movie.go(_movie.frame)
end
</source>

results in:

-- example Lingo code
on exitFrame me
  _movie.go(_movie.frame)
end

Supported languages

  • abap
  • 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
  • dot
  • eiffel
  • fortran
  • freebasic
  • genero
  • gml
  • groovy
  • haskell
  • html4strict
  • idl
  • ini
  • inno
  • io
  • java
  • java5
  • javascript
  • latex
  • lingo
  • lisp
  • lua
  • m68k
  • matlab
  • mirc
  • mpasm
  • mysql
  • nsis
  • objc
  • ocaml
  • ocaml-brief
  • oobas
  • oracle8
  • pascal
  • per
  • 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

Download

The below download contains the PHP file adding Lingo syntax highlighting to the GeSHi extension.

Lingo GeSHi Syntax Highlighting (7KB)