[dokuwiki] Re: Using GeSHi language definition colors instead of fixed colors for all languages
- From: "D.Hendriks (Dennis)" <D.Hendriks@xxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Mon, 16 Mar 2009 10:58:14 +0100
Christopher Smith wrote:
Your mechanism for including styles isn't really an option. Styles shouldn't be inside the html body element (no matter that most browsers handle this) and if there were several code sections on a page you would be including the styles repeatedly.I agree. However, the styles could be generated just once, saved to a .css file and included in the proper place etc. That would solve the invalid html problem and the large amount of code to be transmitted.
Have you seen http://www.dokuwiki.org/tips:code_css which puts GeSHi highlighting into conf/userstyle.cssI had not seen this. This is exactly what I needed. Maybe the topics on the forum that refer to other posts and or the bug tracker should refer to this instead...
Personally, I'm in favour of default DokuWiki being lean and able to be extended with plugins particularly appropriate to a specific wiki installation.Perhaps a plugin that automatically does the things suggested on the tips page would be nice. One could select the languages to include in the css file.
Thanks for your reply, Dennis -- 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] Re: Using GeSHi language definition colors instead of fixed colors for all languages
- From: Andreas Gohr
- [dokuwiki] Re: Using GeSHi language definition colors instead of fixed colors for all languages
- From: D.Hendriks (Dennis)
- [dokuwiki] Re: Using GeSHi language definition colors instead of fixed colors for all languages
- From: Christopher Smith
- [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)