note
FoxtrotUniform
<ul>
<i>Follow the style of many of the pmdev team while
writing patches for Perlmonks by striking out the old code
and inserting new code in a different colour by it.</i>
</ul>
<p>Oooh. Feature: a <tt>diff(1)</tt> hilighting mode for
block (rather than inline) <tt>code</tt> tags. Follow the
<tt>code</tt> block with a <tt>diff</tt> block containing
a context diff (or whatever format's easiest to parse), like
so:</p>
<code>
<code>
&foo();
&bar();
&baz();
<\code> # munged close tag
<diff>
2c2
< &bar();
---
> &quux();
</diff>
</code>
<p>becomes</p>
<p>
<tt>&foo();<br>
<font color="#00aa00">&quux();</font><br>
&baz();</tt></p>
<p>As ever, I have no clue how to implement this, or how
difficult it would be.</p>
<p><tt>-- <br>
<font color="#000000">F</font>
<font color="#220000">o</font>
<font color="#550000">x</font>
<font color="#880000">t</font>
<font color="#aa0000">r</font>
<font color="#dd0000">o</font>
<font color="#ff0000">t</font>
<font color="#ff0000">U</font>
<font color="#dd0000">n</font>
<font color="#aa0000">i</font>
<font color="#880000">f</font>
<font color="#550000">o</font>
<font color="#220000">r</font>
<font color="#000000">m</font><br>
Found a typo in this node? /msg me<br>
The hell with [paco], vote for [Erudil]!
</tt></p>
193155
193173