Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2016-10-27 19:43:42

SirJosh3917
Formerly ninjasupeatsninja
From: USA
Joined: 2015-04-05
Posts: 2,095

[Forum Idea] Colored code tags

Different55 wrote:

I think I threw up in my mouth a little writing this.

KAY GUISE DIS IS HAO U PHP

<?php
$yourname = "Different55"; /* PUT YOUR NAME HERE LEL */
$$yourname = true;
$iscool = "is cool";
$$iscool = true;
$variable = 1;
while ($$yourname == $$iscool)
{
    echo preg_replace("/NEWLINELEL/",PHP_EOL,"{$yourname} {$iscool}er than you by this much: ".eval("\$variable++; return $variable;")."NEWLINELEL");
}
?>

Reference: http://forums.everybodyedits.com/viewtopic.php?id=30693

Offline

#2 2016-10-27 20:16:57

hummerz5
Member
From: wait I'm not a secret mod huh
Joined: 2015-08-10
Posts: 5,852

Re: [Forum Idea] Colored code tags

thanks mr hexagon: https://forums.everybodyedits.com/viewt … pid=523174 - syntax highlighting suggestion
also relevant: https://forums.everybodyedits.com/viewt … p?id=35475 - labeling what strain of code language the (code) box is.

wow I had forgotten the prowess diff has with php

Offline

#3 2016-10-27 21:42:42

Ratburntro44
Member
Joined: 1970-01-01
Posts: 1,382
Website

Re: [Forum Idea] Colored code tags

syntax highlighting is not exactly the simplest thing to implement (compared to the usual things that do get added), particularly for a number of possible languages

if you want it to actually be added, i would strongly suggest finding some scripts for doing it and posting them here for diff to use, because i doubt he is going to implement it himself

Offline

Ratburntro441477600962631793

Board footer

Powered by FluxBB

[ Started around 1713944947.8088 - Generated in 0.043 seconds, 10 queries executed - Memory usage: 1.4 MiB (Peak: 1.51 MiB) ]