I quite often use <code> blocks within wiki pages to show command line or code --- however, sometimes formatting
within the block would be useful. I.e. something that could produce something like:
[m]
<code bash>
user@host$ cp //filename// //destination//
user@host$ chmod a+x *
</code>
[/m]
...to...
user@host$ cp filename destination
user@host$ chmod a+x *
(Abusing the forum syntax massively there, to get my point across)
Or, Alternatively, be able to have something like:
[m]
<code>
int main(int argc, char **argv) {
int foo = 1((//foo// is a variable!))
}
</code>
[/m]
... to a <code> block which has a right-floated "
foo is a variable!" on the
int foo = 1; line.
And that is my dikuwiki plugin wishlist. I hope someone with more time than I agrees, and feels inspired to write it :)