Fabian Wein (LSE) wrote: > Thank you very much for your answer. It works indeed for the xml > files. > > What do you mean with "sensible mime-type"? I could not google > anything. > Also, we are not that happy to remove the mime-type of our code, and > for > C++ files we don't know a better one. >
By "sensible mime-type", I meant one that Trac understands ;-) text/x-csrc for C source text/x-chdr for C headers text/x-c++src for C++ source text/x-c++hdr for C++ headers > Thus. isn't there another way do enable syntax highlighting? E.g. by > the file > extension? > The file extension is superseded by the mime-type, by design. -- Christian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
