User talk:Derf
Wiki manteinance feedback
Syntaxhighlight
After some experiments i can confirm the syntaxhighlight extension is working, the reason why it was confusing me latelly is because time ago (when everything was working fine) we was using a different color selection for the xml language highlights
Long story short... we was trying to using the same default xml colors than notepad++ that looks a bit like this, but it was not exactly the same color sample and are a lot more friendly
As far i remember it was euss who did after a talk we had, but he never told me what he did, and now i think he customized some colors, today i been reading a bit the documentation and it seems there is a file named Genshi.css where the colors can be configured, i dont have access to that file but im guessing the changes was made in it, but im wondering it was lost years ago in one of the defyboy attempts to fix syntaxhighlight, if you have some old backup please take a look if there is some file with that color settings
For curiosity sake... at some point i was doing a tricky combination of templates "broken" in pieces where i was using real systaxhighlight tags with fake ones (forcing the color highlighting manually with <span style>) to match with the custom colors from the real syntaxhighllight. IE: in this [[1]] (click in edit to see how is composed and which xml code is real or fake highlight)
- Basically... i was doing this color selection (elements in blue color:#000077, and the value of elements in red color:#ff3333):
<span style="font-family:Courier New;">'''<Entry''' <span style="color:#000077;">positionX</span><span style="color:#ff3333;">="100"</span> '''/>'''</span>
- To display it like this:
<Entry positionX="100" />
Right now i dont remember how i "chery picked" that colors, all i know if i dedicated some time to match with what the sysntaxhighlight was doing (and all the other details about bold and font type was important), but as you can see the current color selection looks very different:
<Entry positionX="100" />
<--- Current<Entry positionX="100" />
<--- Colored manually by me