Skip to main content
Welcome guest. | Register | Login | Post

Color of <code> text

6 replies [Last post]
ariadacapo's picture
Offline
Joined: 2006-07-13

Hi !

I find the text written in code like this:

coded text

to be difficult to read. This is not because of the font, but because of the color.

My suggestion: Wouldn't it be better if we had a color (very dark red, very dark blue ?) to differentiate the code slightly from the rest of the text, while not looking to obtrusive ?

Just my 2 cents Smiling

Olivier.

libervisco's picture
Offline
Joined: 2006-05-04
Well that shouldn't be a

Well that shouldn't be a problem. Smiling What about dark blue?

ariadacapo's picture
Offline
Joined: 2006-07-13
great

great!

It's a lot better now, many thanks.

Olivier.

free-zombie's picture
Offline
Joined: 2006-03-08
are we getting

are we getting source-highlight integration next ? Eye

libervisco's picture
Offline
Joined: 2006-05-04
Zombie, that's already built

Zombie, that's already built in for PHP. Laughing out loud

Just look at this:

<?php
$stupidvariable
= "YAY";
print
$stupidvariable;
?>

All you need to do is include the

<?php

?>

No need for code tags.

Eye

free-zombie's picture
Offline
Joined: 2006-03-08
bah php now where's that

bah php Sticking out tongue now where's that drupal source Eye

AndrewB's picture
Offline
<