The documentation lists a dozen or so processors that can be used to define inline syntax highlighting [1]. After noticing that `#!cs` is supported for syntax highlighting of C# code in a wiki processor, and realizing this would be useful for my team to know, I was about to add that to the documentation, but further experimentation shows that any of the keywords or file extensions listed in KNOWN_MIME_TYPES [2] or the [mimeviewer] section of trac.ini can be used in a wiki processor.
It seems like it would be useful to display a table of the known mime types somewhere, perhaps in the section were code highlighting support is shown or in SyntaxColoring [3], by either just creating a table and keeping it up to date or creating a macro to show what is defined in KNOWN_MIMETYPES and the mime_map configuration [4]. Or is this already listed in the documentation and I'm just completely missing it? [1] http://trac.edgewall.org/wiki/0.12/WikiProcessors#CodeHighlightingSupport [2] http://trac.edgewall.org/browser/trunk/trac/mimeview/api.py?rev=9301&marks=308-358#L306 [3] http://trac.edgewall.org/wiki/TracSyntaxColoring [4] http://trac.edgewall.org/wiki/0.12/TracIni#mimeviewer-section -- View this message in context: http://old.nabble.com/Limited-number-of-the-available-wiki-processors-for-syntax-highlighting-are-shown-on-the-WikiProcessors-page-tp27732894p27732894.html Sent from the Trac Dev mailing list archive at Nabble.com. -- You received this message because you are subscribed to the Google Groups "Trac Development" 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-dev?hl=en.
