On 1/27/2010 12:18 AM, John Prestel wrote:
Question:

Is there a way to get trac links from within an HTML block?

<div> blocks, yes, see http://trac.edgewall.org/wiki/WikiHtml.


Context:

I'm trying to create a table with custom styles (alternating row
colors, e.g). One of the columns in this table is related ticket(s). I
would love to be able to make these trac links. I can think of many
other use cases.

For tables it's more problematic. In Trac 0.11, you can't use the trick of opening a <table> in one #!html block and put the closing </table> tag in a follow-up block, which used to work in 0.10, for the reasons explained in the WikiHtml page.

But the good news is that with 0.12 you'll have #!td and #!th wiki processors that will allow you to do virtually any kind of complex table, see http://trac.edgewall.org/wiki/0.12/WikiProcessors (and soon the corresponding 0.12/WikiHtml page with more details, but I haven't gotten that far yet).

-- 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.

Reply via email to