Last modified: 2011-11-21 07:40:38 UTC
Like bug 27714 The extension builds some css dynamically based on language code Should be moved into a RL module somehow and moved out of the buildHeadItem...
This is impossible, because the CSS is generated based on programming language code, not on human language code. In fact, some of it is actually based on the source code being highlighted. This can't really be bridged to RL in any reasonable way.
It might be slightly complex but I don't believe it's impossible. The stylesheets that GeSHi generates seams to be based on the arguments you pass to the source tag, not on the actual source. ie: If you have 12 <source> tags with the same lang and the same <source> arguments then they all have the same style. The real things that $geshi->get_stylesheet seems to depend on is things like the line-numbers setting, etc... If we write a custom RL module and embed some of the options about the <source> that get loaded like the lang and the other relevant settings into the module name or wherever it is that we need to embed it to get that passed onto the RL module. Then it would be possible to RL-ify those GeSHi styles.