i'm working with the moodle wiki here on moodle.org and on my installation. paralell i work with some ewiki installations in another context.
ewiki supports the "code" tag to be able to integrate code snippets in wiki pages.
i noticed that the "code" tag is not interpreted in the moodle wiki. ewiki changes 'code' to 'pre class="markup code"', the moodle wiki lets it unchanged.
in the ewiki documentation the difference between 'pre' and 'code' is described as follows:
# use the 'pre' ... '/pre' 'tags' for a paragraph of preformatted text, that still allowed to use WikiWords and simple markup # with 'code' ... '/code' instead you would really see text as you typed it, with square brackets and other escapes not garbaging your text
could someone of the developer team please think about activating the 'code' handling as in ewiki?
ps. the 'pre' implementation seems to have a bug in the moodle wiki. empty lines in the 'pre' block make the interpreter close the block before reaching the '/pre' tag.