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...
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
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…
http://drupal.org/project/geshifilter http://drupal.org/project/codefilter
___________________
It’s in the detaιls…
demonstration portfolio
I use geshifilter
I use geshifilter module on my site - works great :)
-----------------------------------------
Finally, I CMS that I Like!
http://www.CompShack.com
For future reference, you
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