Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 17152 программиста и 1835 роботов. Сейчас ищут 1568 программистов ...
Introduction
Вернуться к: Text_Highlighter
With Text_Highlighter it is possible to create syntax highlighted versions of different file formats.
Currently, the following formats are supported:
-
ABAP
-
C++
-
CSS
-
output of diff(1)
-
DTD
-
HTML
-
Java
-
Javascript
-
MySQL
-
Perl
-
PHP
-
Python
-
Ruby
-
sh
-
SQL
-
VBScript
-
XML
There are different options for getting the results of the highlighting, through the use of renderers. The list of renderers is as follows.
-
Array
-
Console
-
HTML - using span-tags containing a CSS class name, this is the default renderer
-
HTMLTags - using simple set of tags, only B, I and U, useful for devices that support only a subset of HTML (example is an iPod)
-
JSON
-
XML
Вернуться к: Text_Highlighter