Help talk:GeSHi: Difference between revisions

→‎Suggestion: Resolved.
(→‎Suggestion x 2: looks better now.)
(→‎Suggestion: Resolved.)
Line 1:
=== Suggestion ===
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>
Is it feasible?-[[User:Badmadevil|badmadevil]] 02:36, 23 February 2008 (MST)<br>
'''EXAMPLE''':<br>
&#x7b;{header|C}}<br>
&lt;pre><br>
printf("Hello, World!") ;<br>
&lt;/pre><br>
'''''Result HTML page display as'''''<br>
&#x7b;{header|C}}<br>
&lt;C><br>
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)
=== Suggestion x 2===
Hi!<br>