[Trac] How do I color inline text?

Noah Kantrowitz kantrn at rpi.edu
Thu Aug 3 09:12:27 CDT 2006


You would need to include the line breaks if you are using the procesor 
syntax. As a simple macro that is spelled [[html(<span>...</span>)]]

--Noah

Simpson, Troy (NIH/NIEHS) [E] wrote:
> This does not appear to work with WikiFormatting Tables.  For example,
> this does not work for me.
> 
> || {{{#!html <span style="color: red">Green Text</span> }}} || Some Text
> Here ||
> 
> Any ideas?
> 
> Thanks,
> 
> --
> Troy Simpson
>   IT Specialist, OCPDBA, SCSA, MCSE
> National Institute of Environmental Health Sciences 
> PO Box 12233 (MD NH-03)
> Research Triangle Park, NC USA 27709-2233
> ph.919.541.0902 | fax.919.541.0865
> -----Original Message-----
> From: Simpson, Troy (NIH/NIEHS) [E] 
> Sent: Thursday, August 03, 2006 8:20 AM
> To: trac at lists.edgewall.com
> Subject: RE: Re: [Trac] How do I color inline text?
> 
> Thanks for that.  I thought that maybe I was missing some option in the
> wikiFormatting.  But I guess I have not.
> 
> Thanks,
> 
> --
> Troy Simpson
>   IT Specialist, OCPDBA, SCSA, MCSE
> National Institute of Environmental Health Sciences 
> PO Box 12233 (MD NH-03)
> Research Triangle Park, NC USA 27709-2233
> ph.919.541.0902 | fax.919.541.0865
> -----Original Message-----
> From: Emmanuel Blot [mailto:manu.blot at gmail.com] 
> Sent: Wednesday, August 02, 2006 6:11 PM
> To: trac at lists.edgewall.com
> Subject: Re: Re: [Trac] How do I color inline text?
> 
>> Use something like this:
>> {{{
>> #!html
>> <font color="green">Greent Text</font>
>> }}}
> 
> As Trac produces XHTML strict, I think it should be better to stick
> with HTML & CSS:
> 
> {{{
> #!html
> <span style="color:green">Green Text</span>
> }}}
> 
> If you use the <font> tag, it will break the XHTML strict language
> definition, as Trac does not perform any kind of conversion here.
> 
> Cheers,
> Manu
> _______________________________________________
> Trac mailing list
> Trac at lists.edgewall.com
> http://lists.edgewall.com/mailman/listinfo/trac
> _______________________________________________
> Trac mailing list
> Trac at lists.edgewall.com
> http://lists.edgewall.com/mailman/listinfo/trac
> _______________________________________________
> Trac mailing list
> Trac at lists.edgewall.com
> http://lists.edgewall.com/mailman/listinfo/trac
> 



More information about the Trac mailing list