diff options
author | xue <> | 2007-07-20 12:33:27 +0000 |
---|---|---|
committer | xue <> | 2007-07-20 12:33:27 +0000 |
commit | 786dde43ea21c1990071683a8cf5efd3bd1b791d (patch) | |
tree | 34d7e664f974976e800ac8cc790a8046854e8238 /framework/3rdParty/TextHighlighter/Text/html.xml | |
parent | 46f58667d00624c115ad99a590aebef99ab133a5 (diff) |
Replaced GeSHi with Text_Highlighter
Diffstat (limited to 'framework/3rdParty/TextHighlighter/Text/html.xml')
-rw-r--r-- | framework/3rdParty/TextHighlighter/Text/html.xml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/framework/3rdParty/TextHighlighter/Text/html.xml b/framework/3rdParty/TextHighlighter/Text/html.xml new file mode 100644 index 00000000..c25a3ec5 --- /dev/null +++ b/framework/3rdParty/TextHighlighter/Text/html.xml @@ -0,0 +1,33 @@ +<?xml version="1.0"?>
+<!-- $Id: html.xml,v 1.1 2007/06/03 02:35:28 ssttoo Exp $ -->
+
+<highlight lang="html" case="no">
+
+ <authors>
+ <author name="Andrey Demenev" email="demenev@gmail.com"/>
+ </authors>
+
+
+ <default innerClass="code" />
+
+ <region name="comment" delimClass="comment" innerClass="comment"
+ start="\<!--" end="--\>">
+ </region>
+
+ <region name="tag" delimClass="brackets" innerClass="code" start="\<[\?\/]?" end="[\/\?]?\>">
+ <contains block="tagname"/>
+ <contains region="param"/>
+ <contains block="paramname"/>
+ </region>
+
+ <block name="tagname" match="(?<=[\<\/?])[\w\-\:]+" innerClass="reserved" contained="yes"/>
+
+ <block name="paramname" match="[\w\-\:]+" innerClass="var" contained="yes"/>
+
+ <block name="entity" match="(&)[\w\-\.]+;" innerClass="special" />
+
+ <region name="param" start=""" end=""" delimClass="quotes" innerClass="string" contained="yes">
+ <contains block="entity"/>
+ </region>
+
+</highlight>
|