in order to have a comfortable environment for adding programming code to the swiki I've tried to create a form that looks a follows:
This is an edit form to make it more convenient to directly write code examples into the swiki.<br> This window is for text, like introduction or links in the normal swiki/html style:<br> <textarea name="text1" rows=4 cols=70 wrap=virtual><?editText1?></textarea><br><br> This Area is for your code. It can contain any special character that will be displayed in preformatted form. <br> <textarea name="text2" rows=4 cols=70 wrap=virtual><?editText2?></textarea><br> and again some normal text... <br> <textarea name="text3" rows=4 cols=70 wrap=virtual><?editText3?></textarea><br> and in the show mode: <?showText1?> <html><pre> <table bgcolor="#cccccc"><tr><td><?showText2?></td></tr></table></pre></html> <?showText3?> the preformatting <pre> should prevent special characters from being interpreted. This doesn't happen though, I guess because the text is being interpreted before the layout happens. Is there any way around this? My suggestion would be to use == at the beginning of a line to start a preformatted text and again == to end it. Well, we can still do it with <html><pre> ... </pre></html> but I wanted to make it as easy as possible.
