Anonymous user
Help talk:GeSHi: Difference between revisions
suggestion
(suggestion) |
|||
Line 19:
[[User:NevilleDNZ|NevilleDNZ]] 05:43, 23 February 2008 (MST)
=== Suggestion x 2===
Hi!<br>
Currently, it seems D's (also others, like Java, C etc.) syntax coloring high-light a Statement keyword by color #b1b100,eg:<br>
<code><span style="color: #b1b100;"> return</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #993333;">int</span><span style="color: #66cc66;">[</span><span style="color: #66cc66;">]</span> ;</code><br>
It may be only me, it will be looked better if a darker color is used for Statement keyword, eg. that of <span style="color: #993333;">int</span> keyword (#993333):<br>
<code><span style="color: #993333;"> return</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #993333;">int</span><span style="color: #66cc66;">[</span><span style="color: #66cc66;">]</span> ;</code><br>
or, in similar but darker color(#666600):<br>
<code><span style="color: #666600;"> return</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #993333;">int</span><span style="color: #66cc66;">[</span><span style="color: #66cc66;">]</span> ;</code><br>
Besides, the origianl <code><pre></code> tag allowed attribute modifying, eg.<code><pre style="background-color:#ffe"></code>. But the syntax coloring tag will remove it, eg. <code><d style="background-color:#ffe"></code> => <code><pre class="d"></code>. It seems the ''class'' is redundant as coloring is already applied. It will be nice that the syntax coloring tag can be more flexible.<br>
Thank you. -- [[User:Badmadevil|badmadevil]] 02:40, 29 February 2008 (MST)
|