Source code formatting

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/61996?pagenum=1
04 November 2025, 21:28

Topic


Dstructr
Source code formatting
28 May 2006, 18:04


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" /><

 

Replies ...


muzishun
29 May 2006, 11:07


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.<
AnonJr
29 May 2006, 15:08


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?<
Dstructr
29 May 2006, 16:39


I have searched a lot yes, but havent found anything.
muzishun, what mod are you referring to ?<
dayve
29 May 2006, 18:17


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<
Dstructr
29 May 2006, 18:36


Tnx, looks interesting.
Dst<
AnonJr
30 May 2006, 08:41


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<
muzishun
30 May 2006, 16:42


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.<
ajhvdb
30 May 2006, 19:07


This was my first project:
http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=34181&SearchTerms=colorize<
© 2000-2021 Snitz™ Communications