Source code formatting - نوشته شده در (755 Views)
Starting Member
Dstructr
مطلب: 12
12
Does anyone know about any mods that can colorize the source
code within the code tags ?
int n = 0;

It would have been sweet if c#/c++/asp code would look like it does
in visual studio.
i found this: http://www.manoli.net/csharpformat/ It has source code in c#, but i dont know asp vbscript. It would take me forever to translate it to a mod. So i hope someone else has made a mod like this :).
Dst

<moved to="MOD Add-On Forum (W/O Code)" by="Shaggy" /><
 پیش‌فرض مرتب‌سازی برای تاریخ DESC به معنی جدیدترین است  
 تعداد در صفحه 
نوشته شده در
Senior Member
muzishun
مطلب: 1079
1079
You might look at this mod that I helped work on. dayve and Da_Stimulator both (I believe) worked on getting some source code highlighting in their versions of the mod. You could probably see how they did it and possibly incorporate that into your code tags.<
Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
نوشته شده در
Forum Moderator
AnonJr
مطلب: 5768
5768
I've seen some code for this floating around... just wish I could remember the link. I know I've posted it here before. Have you done any searches of the archives?<
نوشته شده در
Starting Member
Dstructr
مطلب: 12
12
I have searched a lot yes, but havent found anything.
muzishun, what mod are you referring to ?<
نوشته شده در
Forum Moderator
dayve
مطلب: 5820
5820
This is the one I use which doesn't have a whole lot of color identification:

http://www.burningsoulsforum.com/forum/vc.asp?source=vc.asp&numbered=yes

and without numbered lines:

http://www.burningsoulsforum.com/forum/vc.asp?source=vc.asp&numbered=no

But this one should be more what you're looking for:

http://www.2enetworx.com/dev/projects/hiliter.asp<
نوشته شده در
Starting Member
Dstructr
مطلب: 12
12
Tnx, looks interesting.
Dst<
نوشته شده در
Forum Moderator
AnonJr
مطلب: 5768
5768
Hmmm... can't seem to find the thread I had in mind now that I'm looking for it. (I'd found it by accident two weeks ago looking for something else)

This could be of use: http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=56004<
نوشته شده در
Senior Member
muzishun
مطلب: 1079
1079
Wow. I can't believe I forgot to link to that forum topic. However, it's a moot point now. Dayve's links should help you more than the mod would have. It was just a mod to allow users (or admins) to view source files of your site. Dayve and da_stimulator had mentioned that they have some syntax highlighting on similar things they have made.<
Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
نوشته شده در
Junior Member
ajhvdb
مطلب: 392
392
This was my first project:
http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=34181&SearchTerms=colorize<
 
شما باید یک متن وارد کنید