[dokuwiki] Re: Using GeSHi language definition colors instead of fixed colors for all languages
- From: cyrille giquello <cyrille37@xxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Fri, 13 Mar 2009 13:09:55 +0100
2009/3/13 D.Hendriks (Dennis) <D.Hendriks@xxxxxx>: > In GeSHi language definition files (.php files), one specifies STYLES. While > DokuWiki uses GeSHi for syntax highlighting, it uses its own coloring > scheme. > This coloring scheme is the same for all languages. > ... > This is the patch: > ... > + $style_code = '<style type="text/css"><!--' . > $geshi->get_stylesheet(true) . '--></style>'; > + $highlighted_code = $style_code . $highlighted_code; > + > ... > Let me know what you think. Thanks. I vote for this patch, it's nice and simple, and it respects the GeSHi's features. Regards Cyrille. -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist
- References:
- [dokuwiki] Using GeSHi language definition colors instead of fixed colors for all languages
- From: D.Hendriks (Dennis)
- [dokuwiki] Using GeSHi language definition colors instead of fixed colors for all languages
Other related posts:
- » [dokuwiki] Using GeSHi language definition colors instead of fixed colors for all languages - D.Hendriks (Dennis)
- » [dokuwiki] Re: Using GeSHi language definition colors instead of fixed colors for all languages - cyrille giquello
- » [dokuwiki] Re: Using GeSHi language definition colors instead of fixed colors for all languages - Andreas Gohr
- » [dokuwiki] Re: Using GeSHi language definition colors instead of fixed colors for all languages - D.Hendriks (Dennis)
- » [dokuwiki] Re: Using GeSHi language definition colors instead of fixed colors for all languages - cyrille giquello
- » [dokuwiki] Re: Using GeSHi language definition colors instead of fixed colors for all languages - Christopher Smith
- » [dokuwiki] Re: Using GeSHi language definition colors instead of fixed colors for all languages - D.Hendriks (Dennis)