Thomas Sturm wrote:
Christian Boos wrote:
Hello,

Thomas Sturm wrote:
...
What can I do in the wiki, with wiki syntax, to get real rendered
HTML documentation and not the HTML source?
You have to explicitely request the "raw" format of the file.
For now, you have to use relative links, e.g.
[/YourTracEnv/browser/trunk/test.html?format=raw test.html]

The ugly detail: if I follow the links inside the document, the
links don't have the '?format=raw' and the new target will be
displayed in HTML source again.

I see.
One approach would be to encode the format elsewhere, e.g.
[raw-source:trunk/test.html test.html], which would translate to the URL
/YourTracEnv/raw-source/trunk/test.html

The request dispatcher of the browser module could be adapted to
extract the format argument from there.

-- Christian


_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to