[dokuwiki] Re: syntax hilighting

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

Other related posts: