Emmanuel Blot wrote:
Hi,
Some of our .txt files in our SVN repository use the Trac Wiki syntax.
How can I tell Trac to render the files as Wiki pages when browsing them?
svn pset svn:mime-type text/x-trac-wiki *.txt
Or, if those files have a special suffix, a configuration option
can be used to bind them automatically to this mime type, e.g.
[mimeview]
mime_map = text/x-trac-wiki:trac:wtxt
will associate *.trac and *.wtxt files to this type.
In 0.11, I'll pass enough context information through
renderer/formatter/macros,
so that things like [[PageOutline]] will work in such pages.
-- Christian
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac