blah blah blah is here! blah blah » Close

up0down
link

I think it would be cool to have a set of "csf" code for the forums. like:
[code="C#|VB|C++"]using System;[/code] would format the code (to use indentations and such) using the standard IDE colors for types, comments and such. I just thought I'd throw that out there. the current <code> tags spread out the code and make it way too small for me to read (using mozilla).
I might be able to help with this one if you want. I could probably write a class that would pre-process the message block and replace certain blocks with thier actual html equiv formatters. I don't know how your design of the site works, or if a message-preprocessor class would help out. if you ever implemented an edit feature this might get a little more involved. let me know, I'll help out if I can.
--Mad

last answered 2 years ago

1 answers

up0down
link

hrm... I also just noticed the code highlight page... that's kind of what I was talking about.

up0down
link

<table border="0" cellspacing="0" width="100%"><tr><td width="15"></td><td bgcolor="lightgrey" width="15"></td><td bgcolor="lightgrey">
<font face="Lucida Console" size="2"><font color= "blue">public</font> test</font>
 </td></tr></table>

up0down
link

/me likes!!! man you are fast!
but now when ever we reply it puts the post we're replying to in full html up above the posting box. but you probably already know about this.
thanks Salman.

This post was imported from csharpfriends, if you have a similiar question please ask it again.

All previous members have been migrated, hope you enjoy the new platform!

Feedback