<code> in nice blocks
fuzz2400 - September 25, 2007 - 20:14
Hi. I am trying to make my own version of the Marvin theme by writing a style.css. One thing that troubles me is how I make a nice block around my code, just like here at drupal.org:
This is how I want the code to look like.
Line 2I have looked on the html of drupal.org - and here there is a codeblock-tag which I haven't on my site. Is this acchieved by using a module?
How can I do this most easily?

I think this one does what
I think this one does what you want: http://drupal.org/project/codefilter
Otherwise look through the Filters category in modules
------------------------------------
Ronan - Gorton Studios - http://www.gortonstudios.com/
Doesn't do it
Thanks for you guess. I have installed an enabled the module, but it doesn't help.
I greped for codeblock in the codefilter module and it seemed to be able to insert 'codeblock's. But it was only for php. So it can't be codefilter that do it on drupal.org.
I browsed through all the filter modules, but I can't find any that seems to do this.
Well someone more
Well someone more knowledgeable should be able to speak to what is used on drupal.org, but it sounds like all you want to do is style the
codetag with css. Something likecode {display: block;
border: 1px solid black;
}
------------------------------------
Ronan - Gorton Studios - http://www.gortonstudios.com/
That was it.
Thanks a lot. That was just what I needed. I am not the best friend with CSS :)
geshi filter
you may also consider using geshi filter module.
http://drupal.org/project/geshifilter