Code highlight in this forum
Moderators: Hacker, petermad, Stefan2, white
Code highlight in this forum
Is it possible to add code highlighter in this forum?
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
I believe he mean something like GeSHi in Pastebin or any other hightlight php class Image: http://img180.imageshack.us/img180/3613/decclip0.png and no it's not possible.
You can do that by hand
or use bbcode for firefox but only Js/xml/css code is cover.
You can do that by hand

Yes, I will be a pain in the ass. Anyway, I don't see any future for code highlighter here, currently we can't even post images.VSB wrote:2dott
well, I can use different bbcode highlighters, but it will be difficult change some code in quotes.
This is what you get using firefox bbcode addon, lousy

[face=consolas]<html>
<head>
<title> Actual date</title>
</head>
<body>
<script>
var mydate=new Date();
var year=mydate.getYear();
if (year < 1000)
year+=1900;
var day=mydate.getDay();
var month=mydate.getMonth()+1;
if (month<10)
month="0"+month;
var daym=mydate.getDate();
if (daym<10)
daym="0"+daym;
document.write("<small><font color='000000' face='Arial'><b>"+daym+"/"+month+"/"+year+"</b></font></small>")
</script>
</body>
</html> [/face]
Probablemente no