[dokuwiki] Re: syntax hilighting

Chris Smith wrote:

> Galen Johnson wrote:
>
>> OK...now let's say I want to go ahead and set up a style sheet with all
>> the different syntax highlighing that I just spent 2 days adding to
>> geshi (since the hilighting I needed wasn't already part of geshi).  I
>> am already using a template other than default.  However, I see no
>> style.css files in any of the templates I've looked in thusfar.  Do I
>> need to copy the style.css to somewhere under the template folder?  If
>> so, where (template making docs are a bit lacking here)? Do I just edit
>> the design.css file within the template (similar to what was necessary
>> for the note plugin)?  Can I create a stylesheet (php.css for example)
>> and include it in another?  (Just curious as I can't find it
>> documented...can classes have spaces within it?  the code classes are
>> "code lang"...)
>>
>> =G=
>>   
>
> for details on the template stylesheets, see
> http://wiki.splitbrain.org/wiki:stylesheets.  style.css is in
> lib/styles directory.
>
> I think the simplest thing, is to edit your template (main.php) and
> add an additional stylesheet via a
> <link rel="stylesheet" type="text/css" href="...." />
>
> and add your geshi styles in there.
>
> Chris
>
>
Thanks for all the insight, Chris.  I'll continue along that tack. 
Might even take the time to create a stylesheet for each syntax file. 
Gotta learn css at some point (even if it is just a repetative task).

=G=
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: