code hightlight

waif999 - April 26, 2008 - 09:32

I want to find a module can hightlight code.like this http://api.drupal.org/api/file/developer/examples/block_example.module/5...

you shouldn't need a module

steve-psngs - April 26, 2008 - 10:51

you shouldn't need a module to do that, everyhting is logically in the style.css of your theme.
Best to look at a piece of rendered code with Firebug, see what classes it uses & then change them to whatever style you wish for.

Try these links…

zeta ζ - April 26, 2008 - 12:58

I use geshifilter

CompShack - April 26, 2008 - 13:12

I use geshifilter module on my site - works great :)

-----------------------------------------
Finally, I CMS that I Like!
http://www.CompShack.com

For future reference, you

WorldFallz - April 26, 2008 - 14:54

For future reference, you can search for modules by using "type:project_project" in the search box above.

Typing "type:project_project code highlight" into the search box yields the modules listed above in the first couple of links. Also, there is the http://drupalmodules.com site.

===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime."
-- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz

 
 

Drupal is a registered trademark of Dries Buytaert.