color of code in codetags

Any feedback to improve the content of this site is appreciated!
Post Reply
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

color of code in codetags

Post by mattallen37 »

Code: Select all

All the code that is in codetags is green.
That bothers me, because any green (besides dark green) is often used to show a comment in a program (non compiled part of code). Is there a way for me to change it for my own viewing, or is there a way that it can be changed altogether? I always think of dark purple, maroon, and most green as code comments (as well as italic).
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: color of code in codetags

Post by HaWe »

do you know the short story of Bertold Brecht:
Mr. K (Keuner) and the Bayleaf (Laurel(?))
"Now you got the form - but where is the content...?"
:mrgreen:
mightor
Site Admin
Posts: 1079
Joined: 25 Sep 2010, 15:02
Location: Rotterdam, Netherlands
Contact:

Re: color of code in codetags

Post by mightor »

mattallen37 wrote:Is there a way for me to change it for my own viewing, or is there a way that it can be changed altogether? I always think of dark purple, maroon, and most green as code comments (as well as italic).
Not without the use of some pretty powerful hallucinogenics.

- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: color of code in codetags

Post by HaWe »

Image
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: color of code in codetags

Post by mattallen37 »

Very funny, but not exactly what I was looking for.
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: color of code in codetags

Post by HaWe »

do not judge until you've tried it Image
:mrgreen:
mightor
Site Admin
Posts: 1079
Joined: 25 Sep 2010, 15:02
Location: Rotterdam, Netherlands
Contact:

Re: color of code in codetags

Post by mightor »

mattallen37 wrote:Very funny, but not exactly what I was looking for.
The answer is no, you can't.
doc-helmut wrote:do not judge until you've tried it
Hehe, spoken like a pharmacist!

- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: color of code in codetags

Post by HaWe »

...who formerly visited a Hollandse Coffee Shop once or twice... :oops:
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: color of code in codetags

Post by mattallen37 »

:lol:
Ok, well thanks.
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
muntoo
Posts: 834
Joined: 01 Oct 2010, 02:54
Location: Your Worst Nightmare
Contact:

Re: color of code in codetags

Post by muntoo »

doc-helmut wrote:do not judge until you've tried it Image
:mrgreen:
Pretty good stuff.

--

Testing:

Code: Select all

<head>
<body>
<heart>
<title>Hello, Person.</title>
</heart>
</body>
</head>
<TAIL>
TAIL2

Code: Select all

<html>
  <head>
    <title>PHP Test</title>
  </head>
  <body>
  <?php
  echo "Hello World";
  /* echo("Hello World"); works as well, although echo isn't a
  function, but a language construct. In some cases, such
  as when multiple parameters are passed to echo, parameters
  cannot be enclosed in parentheses. */
  ?>
  </body>
</html>

Code: Select all

#include <stdio.h>

int main(int argc, char* argv[])
{
printf("Hello World!");

return 0;
}

Code: Select all

#include <iostream>

class CPerson
{
public:
int age; // yes, it can be negative!
int height; // also can be negative!
int temperature; // cannot be above 2^32-1
int iq; // mine is so high, that even a 32 bit signed int cannot store it
};

CPerson Me;

int main(int argc, char* argv[])
{
std::cout << "Hello World!";
return 0;
}
http://www.phpbb.com/community/viewtopi ... &t=1484835
http://qbnz.com/highlighter/
https://sourceforge.net/projects/geshi/
Image

Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE


Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest