#9398 closed task (fixed)
Use of svn:mime-type: text/x-trac-wiki not documented.
| Reported by: | Owned by: | Christian Boos | |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.12.3 |
| Component: | rendering | Version: | 0.11.6 |
| Severity: | normal | Keywords: | bitesized |
| Cc: | mpotter@…, Thijs Triemstra | Branch: | |
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
One can set the svn:mime-type property on a file and have the file syntax color high lighted in the Trac source browser (docs), or for a value of x-rst have the browser render the file differently (docs, example). One can also set it to x-trac-wiki and have the file rendered as interpreted as Trac Wiki markup, but I could not find this documented anywhere.
This feature is in 0.11.6, presumably even earlier.
I would think it should be mentioned on TracSyntaxColoring and/or TracBrowser, or on a new page similar to WikiRestructuredText.
Question: Are there any other mime-types that are rendered differently in the source browser, as opposed to just syntax-colored, besides x-rst?
Attachments (0)
Change History (9)
comment:1 by , 15 years ago
| Keywords: | bitesized added |
|---|---|
| Milestone: | → unscheduled |
comment:2 by , 15 years ago
| Cc: | added |
|---|
comment:3 by , 15 years ago
| Milestone: | unscheduled → next-minor-0.12.x |
|---|
comment:4 by , 15 years ago
| Cc: | added; removed |
|---|---|
| Owner: | set to |
| Status: | new → assigned |
follow-up: 7 comment:5 by , 15 years ago
| Milestone: | next-minor-0.12.x → 0.12.3 |
|---|---|
| Resolution: | → fixed |
| Status: | assigned → closed |
Grabbing it from you, thijs ;-)
Feel free to add pointers to TracSyntaxColoring#KnownMIMETypes in places you find relevant.
comment:7 by , 15 years ago
Replying to cboos:
Grabbing it from you, thijs ;-)
No problem :)
Feel free to add pointers to TracSyntaxColoring#KnownMIMETypes in places you find relevant.
It should probably be more emphasised that SilverCity support has been dropped since 0.13.
comment:8 by , 15 years ago
Really? No, it's not. See [10333], it's just not active by default anymore, but you can still use it.
comment:9 by , 15 years ago
| Owner: | changed from to |
|---|



Replying to mpotter@…:
Feel free to edit the relevant pages as you see fit.
Not in core. However, plugins are free to define renderers for any MIME types. Here's the converter for
x-trac-wiki, as an example.