| 32 | Note that the rich content may be directly //rendered// instead of syntax highlighted. This usually depends on which auxiliary packages are installed and on which components are activated in your setup. For example a `text/x-rst` document will be rendered via `docutils` if it is installed and the `trac.mimeview.rst.ReStructuredTextRenderer` is not disabled, and will be syntax highlighted otherwise. |
| 33 | |
| 34 | In a similar way, a document with the mimetype `text/x-trac-wiki` is rendered using the Trac wiki formatter, unless the `trac.mimeview.api.WikiTextRenderer` component is disabled. |
| 35 | |
| 36 | HTML documents are directly rendered only if the `render_unsafe_html` settings are enabled in the TracIni (those settings are present in multiple sections, as there are different security concerns depending where the document comes from). If you want to ensure that an HTML document gets syntax highlighted and not rendered, use the `text/xml` mimetype. |
| 37 | |
| 38 | If mimetype such as 'svn:mime-type' is set to 'text/plain', there is no coloring even if file is known type like 'java'. |
38 | | || Ada || || ? || || |
39 | | || Asm || || ? || || |
40 | | || Apache Conf || || || ? || |
41 | | || ASP || ? || ? || || |
42 | | || C || ? || ? || ? || |
43 | | || C# || || ? ^[#a1 (1)]^ || ? || |
44 | | || C++ || ? || ? || ? || |
45 | | || Java || ? ^[#a2 (2)]^ || ? || ? || |
46 | | || Awk || || ? || || |
47 | | || Boo || || || ? || |
48 | | || CSS || ? || || ? || |
49 | | || Python Doctests || || || ? || |
50 | | || Diff || || ? || ? || |
51 | | || Eiffel || || ? || || |
52 | | || Elisp || || ? || || |
53 | | || Fortran || || ? ^[#a1 (1)]^ || ? || |
54 | | || Haskell || || ? || ? || |
55 | | || Genshi || || || ? || |
56 | | || HTML || ? || ? || ? || |
57 | | || IDL || || ? || || |
58 | | || INI || || || ? || |
59 | | || Javascript || ? || ? || ? || |
60 | | || Lua || || || ? || |
61 | | || m4 || || ? || || |
62 | | || Makefile || || ? || ? || |
63 | | || Mako || || || ? || |
64 | | || Matlab ^[#a3 (3)]^ || || ? || ? || |
65 | | || Mygthy || || || ? || |
66 | | || Objective-C || || ? || ? || |
67 | | || OCaml || || || ? || |
68 | | || Pascal || || ? || ? || |
69 | | || Perl || ? || ? || ? || |
70 | | || PHP || ? || || ? || |
71 | | || PSP || ? || || || |
72 | | || Pyrex || || ? || || |
73 | | || Python || ? || ? || ? || |
74 | | || Ruby || ? || ? ^[#a1 (1)]^ || ? || |
75 | | || Scheme || || ? || ? || |
76 | | || Shell || || ? || ? || |
77 | | || Smarty || || || ? || |
78 | | || SQL || ? || ? || ? || |
79 | | || Troff || || ? || ? || |
80 | | || TCL || || ? || || |
81 | | || Tex || || ? || ? || |
82 | | || Verilog || ? ^[#a2 (2)]^ || ? || || |
83 | | || VHDL || || ? || || |
84 | | || Visual Basic || || ? || ? || |
85 | | || VRML || || ? || || |
86 | | || XML || ? || || ? || |
| 45 | || Ada || || ✓ || || |
| 46 | || Asm || || ✓ || || |
| 47 | || Apache Conf || || || ✓ || |
| 48 | || ASP || ✓ || ✓ || || |
| 49 | || C || ✓ || ✓ || ✓ || |
| 50 | || C# || || ✓ ^[#a1 (1)]^ || ✓ || |
| 51 | || C++ || ✓ || ✓ || ✓ || |
| 52 | || CMake || ? || ? || ✓ || |
| 53 | || Java || ✓ ^[#a2 (2)]^ || ✓ || ✓ || |
| 54 | || Awk || || ✓ || || |
| 55 | || Boo || || || ✓ || |
| 56 | || CSS || ✓ || || ✓ || |
| 57 | || Python Doctests || || || ✓ || |
| 58 | || Diff || || ✓ || ✓ || |
| 59 | || Eiffel || || ✓ || || |
| 60 | || Elisp || || ✓ || || |
| 61 | || Fortran || || ✓ ^[#a1 (1)]^ || ✓ || |
| 62 | || Haskell || || ✓ || ✓ || |
| 63 | || Genshi || || || ✓ || |
| 64 | || HTML || ✓ || ✓ || ✓ || |
| 65 | || IDL || || ✓ || || |
| 66 | || INI || || || ✓ || |
| 67 | || Javascript || ✓ || ✓ || ✓ || |
| 68 | || Lua || || || ✓ || |
| 69 | || m4 || || ✓ || || |
| 70 | || Makefile || || ✓ || ✓ || |
| 71 | || Mako || || || ✓ || |
| 72 | || Matlab ^[#a3 (3)]^ || || ✓ || ✓ || |
| 73 | || Mygthy || || || ✓ || |
| 74 | || Objective-C || || ✓ || ✓ || |
| 75 | || OCaml || || || ✓ || |
| 76 | || Pascal || || ✓ || ✓ || |
| 77 | || Perl || ✓ || ✓ || ✓ || |
| 78 | || PHP || ✓ || || ✓ || |
| 79 | || PSP || ✓ || || || |
| 80 | || Pyrex || || ✓ || || |
| 81 | || Python || ✓ || ✓ || ✓ || |
| 82 | || Ruby || ✓ || ✓ ^[#a1 (1)]^ || ✓ || |
| 83 | || Scheme || || ✓ || ✓ || |
| 84 | || Shell || || ✓ || ✓ || |
| 85 | || Smarty || || || ✓ || |
| 86 | || SQL || ✓ || ✓ || ✓ || |
| 87 | || Troff || || ✓ || ✓ || |
| 88 | || TCL || || ✓ || || |
| 89 | || Tex || || ✓ || ✓ || |
| 90 | || Verilog || ✓ ^[#a2 (2)]^ || ✓ || || |
| 91 | || VHDL || || ✓ || || |
| 92 | || Visual Basic || || ✓ || ✓ || |
| 93 | || VRML || || ✓ || || |
| 94 | || XML || ✓ || || ✓ || |
100 | | * GNU Enscript -- http://directory.fsf.org/GNU/enscript.html |
101 | | * GNU Enscript for Windows -- http://gnuwin32.sourceforge.net/packages/enscript.htm |
102 | | * !SilverCity -- http://silvercity.sf.net/ |
103 | | * Pygments -- http://pygments.org/ |
| 108 | * GNU Enscript — http://directory.fsf.org/GNU/enscript.html |
| 109 | * GNU Enscript for Windows — http://gnuwin32.sourceforge.net/packages/enscript.htm |
| 110 | * !SilverCity — http://silvercity.sf.net/ |
| 111 | * **Pygments — http://pygments.org/** |