Fog Creek Software
Discussion Board




Highlighting or otherwise adding HTML elements

Hi,

It doesn't seem to be possible to add highlighting to the case comments.  Is it something that I can't do at all, or should I change the source code to do it ?

I'm on the trial, still.

I understand that sometimes pasting source code would cause problems, but that could be resolvable by having the code in a CDATA section.

Thanks !
François

François Beausoleil
Thursday, September 09, 2004

That is correct, you cannot add HTML source code to the comments without the HTML being quoted (so it shows up as HTML source).

Michael H. Pryor
Fog Creek Software
Thursday, September 09, 2004

But, is there a way to highlight certain parts of the comment ?  Or format it slightly ?

Something like Wiki formatting would be fine/nice.

Thanks !
François

François Beausoleil
Thursday, September 09, 2004

There's no way to do this, but if you wanted to set up some simple rules to allow it it would be a relatively small change to the source code. There's one isolated function which is responsible for encoding the final HTML, and you could change it to replace [[ with <em> and ]] with </em>, for example.

Joel Spolsky
Fog Creek Software
Friday, September 10, 2004

*  Recent Topics

*  Fog Creek Home