Help talk:GeSHi: Difference between revisions

m
(Suggestion)
 
Line 1:
'''=== Suggestion'''<br> ===
Hello.<br>
I would suggest that any &lt;pre> editing effect, ie.causing a &lt;pre> pair to be inserted in the result html page, under a language header &#x7b;{header|LANG_TAG}} be automatic converted to the corresponding language syntax highlight( LANG_TAG ) effect, so that any further conversion is not need. New code may still use old style editing.<br>
Line 13:
printf("Hello, World!") ;<br>
&lt;/C>
 
This is a good idea... saddly my PHP is non existent so I can not write the code at this point. Do you know anyone that could write this kind of filter? I also wonder if an undesirable side effect would be that <nowiki><pre>date</pre></nowiki> and <nowiki><pre>output</pre></nowiki> would get unexpectedly converted/formated as C code.
 
I will continue the evaluation, maybe by the end of this I will have an understanding and can do the coding easily, or... know the ramifications of why we shouldn't.
 
[[User:NevilleDNZ|NevilleDNZ]] 05:43, 23 February 2008 (MST)