[dokuwiki] Re: syntax hilighting
- From: Chris Smith <chris@xxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Thu, 29 Dec 2005 17:26:19 +0000
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
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- [dokuwiki] Re: syntax hilighting
- From: Galen Johnson
- References:
- [dokuwiki] syntax hilighting
- From: Galen Johnson
- [dokuwiki] Re: syntax hilighting
- From: Chris Smith
- [dokuwiki] Re: syntax hilighting
- From: Galen Johnson
- [dokuwiki] Re: syntax hilighting
- From: Chris Smith
- [dokuwiki] Re: syntax hilighting
- From: Galen Johnson
Other related posts:
- » [dokuwiki] syntax hilighting
- » [dokuwiki] Re: syntax hilighting
- » [dokuwiki] Re: syntax hilighting
- » [dokuwiki] Re: syntax hilighting
- » [dokuwiki] Re: syntax hilighting
- » [dokuwiki] Re: syntax hilighting
- » [dokuwiki] Re: syntax hilighting
- » [dokuwiki] Re: syntax hilighting
- » [dokuwiki] Re: syntax hilighting
- » [dokuwiki] Re: syntax hilighting
- » [dokuwiki] Re: syntax hilighting
- » [dokuwiki] Re: syntax hilighting
- » [dokuwiki] Re: syntax hilighting
- » [dokuwiki] Re: syntax hilighting
- » [dokuwiki] Re: syntax hilighting
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=
-- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist
- [dokuwiki] Re: syntax hilighting
- From: Galen Johnson
- [dokuwiki] syntax hilighting
- From: Galen Johnson
- [dokuwiki] Re: syntax hilighting
- From: Chris Smith
- [dokuwiki] Re: syntax hilighting
- From: Galen Johnson
- [dokuwiki] Re: syntax hilighting
- From: Chris Smith
- [dokuwiki] Re: syntax hilighting
- From: Galen Johnson