modes.shtml.xml Maven / Gradle / Ivy
Go to download
This project aims to build a command line tool that can create
HTML view with syntax highlighted source code.
It uses Jedit syntax highlighting engine and support all languages that are supported in JEdit.
Which are currently: ActionScript, Ada 95, ANTLR, Apache HTTPD, APDL, AppleScript, ASP, Aspect-J, Assembly, AWK, B formal method, Batch, BBj, BCEL, BibTeX, C, C++, C#, CHILL, CIL, COBOL, ColdFusion, CSS, CVS Commit, D, DOxygen, DSSSL, Eiffel, EmbPerl, Erlang, Factor, Fortran, Foxpro, FreeMarker, Fortran, Gettext, Groovy, Haskell, HTML, Icon, IDL, Inform, INI, Inno Setup, Informix 4GL, Interlis, Io, Java, JavaScript, JCL, JHTML, JMK, JSP, Latex, Lilypond, Lisp, LOTOS, Lua, Makefile, Maple, ML, Modula-3, MoinMoin, MQSC, NetRexx, NQC, NSIS2, Objective C, ObjectRexx, Occam, Omnimark, Parrot, Pascal, Patch, Perl, PHP, Pike, PL-SQL, PL/I, Pop11, PostScript, Povray, PowerDynamo, Progress 4GL, Prolog, Properties, PSP, PV-WAVE, Pyrex, Python, REBOL, Redcode, Relax-NG, RelationalView, Rest, Rib, RPM spec, RTF, Ruby, Ruby-HTML, RView, S+, S#, SAS, Scheme, SDL/PL, SGML, Shell Script, SHTML, Smalltalk, SMI MIB, SQR, Squidconf, SVN Commit, Swig, TCL, TeX, Texinfo, TPL, Transact-SQL, UnrealScript, VBScript, Velocity, Verilog, VHDL, XML, XSL, ZPT
The newest version!
<?xml version="1.0"?> <!DOCTYPE MODE SYSTEM "xmode.dtd"> <MODE> <PROPS> <PROPERTY NAME="commentStart" VALUE="<!--" /> <PROPERTY NAME="commentEnd" VALUE="-->" /> </PROPS> <RULES IGNORE_CASE="TRUE"> <!-- SSI --> <!-- SSI directives should ALWAYS end like this, with a space before the tag end, so let's make it colorize poorly otherwise --> <!-- ... or really? see bug report 964860 --> <SPAN TYPE="KEYWORD3" DELEGATE="SSI"> <BEGIN><!--#</BEGIN> <END>--></END> </SPAN> <!-- SGML comment --> <SPAN TYPE="COMMENT1"> <BEGIN><!--</BEGIN> <END>--></END> </SPAN> <!-- JavaScript --> <SPAN TYPE="MARKUP" DELEGATE="html::JAVASCRIPT"> <BEGIN><SCRIPT</BEGIN> <END></SCRIPT></END> </SPAN> <!-- stylesheet --> <SPAN TYPE="MARKUP" DELEGATE="html::CSS"> <BEGIN><STYLE</BEGIN> <END></STYLE></END> </SPAN> <!-- DTD instructions --> <SPAN TYPE="KEYWORD2" DELEGATE="xml::DTD-TAGS"> <BEGIN><!</BEGIN> <END>></END> </SPAN> <!-- markup tags --> <SPAN TYPE="MARKUP" DELEGATE="TAGS"> <BEGIN><</BEGIN> <END>></END> </SPAN> <!-- SGML entities --> <SPAN TYPE="LITERAL2" NO_WORD_BREAK="TRUE"> <BEGIN>&</BEGIN> <END>;</END> </SPAN> </RULES> <RULES SET="TAGS" DEFAULT="MARKUP"> <SPAN TYPE="LITERAL1"> <BEGIN>"</BEGIN> <END>"</END> </SPAN> <SPAN TYPE="LITERAL1"> <BEGIN>'</BEGIN> <END>'</END> </SPAN> <SEQ TYPE="OPERATOR">=</SEQ> </RULES> <RULES SET="SSI" DEFAULT="KEYWORD3"> <SPAN TYPE="LITERAL1" MATCH_TYPE="OPERATOR" DELEGATE="SSI-EXPRESSION"> <BEGIN>"</BEGIN> <END>"</END> </SPAN> <!-- MD: i don't think this is valid <SPAN TYPE="LITERAL1" MATCH_TYPE="OPERATOR" DELEGATE="SSI-EXPRESSION"> <BEGIN>'</BEGIN> <END>'</END> </SPAN> --> <SEQ TYPE="OPERATOR">=</SEQ> <KEYWORDS> <KEYWORD1>config</KEYWORD1> <KEYWORD1>echo</KEYWORD1> <KEYWORD1>exec</KEYWORD1> <KEYWORD1>flastmod</KEYWORD1> <KEYWORD1>fsize</KEYWORD1> <KEYWORD1>include</KEYWORD1> <KEYWORD2>cgi</KEYWORD2> <KEYWORD2>errmsg</KEYWORD2> <KEYWORD2>file</KEYWORD2> <KEYWORD2>sizefmt</KEYWORD2> <KEYWORD2>timefmt</KEYWORD2> <KEYWORD2>var</KEYWORD2> <KEYWORD2>cmd</KEYWORD2> </KEYWORDS> </RULES> <RULES SET="SSI-EXPRESSION" DEFAULT="LITERAL1" ESCAPE="\"> <MARK_FOLLOWING TYPE="KEYWORD2">$</MARK_FOLLOWING> <SEQ TYPE="OPERATOR">=</SEQ> <SEQ TYPE="OPERATOR">!=</SEQ> <SEQ TYPE="OPERATOR"><</SEQ> <SEQ TYPE="OPERATOR"><=</SEQ> <SEQ TYPE="OPERATOR">></SEQ> <SEQ TYPE="OPERATOR">>=</SEQ> <SEQ TYPE="OPERATOR">&&</SEQ> <SEQ TYPE="OPERATOR">||</SEQ> </RULES> </MODE>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy