[dokuwiki] Re: syntax hilighting
- From: Chris Smith <chris@xxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Sat, 31 Dec 2005 17:12:21 +0000
Galen Johnson wrote:
Hey Chris,
Thanks for all your help...I've decided the best way to overcome this is
by explicitly setting the style and weight.
.code .kw2 { color: #000000; font-weight: bold; }
...
...
...
/* my code */
.code.sas .kw2 { color: #0000ff; font-style: normal; font-weight: normal; }
...
...
...
It's ugly...but it works...
=G=
If you want to reset all of the GeSHi styles to something common ...
.code.sas span { color: black; font-style: normal; font-weight: normal; }
then you set your new rules (e.g. .code.sas .kw2) to whatever you want
that class to be, knowing you don't need to worry about overriding any
other style.
Cheers,
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
- [dokuwiki] Re: syntax hilighting
- From: Chris Smith
- [dokuwiki] Re: syntax hilighting
- From: Galen Johnson
- [dokuwiki] Re: syntax hilighting
- From: Galen Johnson
- [dokuwiki] Re: 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
Hey Chris, Thanks for all your help...I've decided the best way to overcome this is by explicitly setting the style and weight.
.code .kw2 { color: #000000; font-weight: bold; }
...
...
.../* my code */
.code.sas .kw2 { color: #0000ff; font-style: normal; font-weight: normal; }
...
...
...It's ugly...but it works...
=G=
- [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
- [dokuwiki] Re: syntax hilighting
- From: Chris Smith
- [dokuwiki] Re: syntax hilighting
- From: Galen Johnson
- [dokuwiki] Re: syntax hilighting
- From: Galen Johnson
- [dokuwiki] Re: 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