The WiKi does not take well to displaying source code. I can't figure out the pattern, but it switches between normal browser formatting and formatting like it is inside the <pre> tag. Is there any way to fix this? Right now the code looks pretty messy.
So far what I've done around sourcecode is to make a textbox(^text^) and then make the font monospaced(-+text+-), but a [source] tag would be really nice.
Ah and I noticed that you have created a kind of index for the Nehe stuff. If you look at Structures you can create your own automated hierarchical indexing indexing. I just created the starter of that structure and I'll fill it out if I get more time later...
Thanks.
-+text+- did not work for monospace. However there are 2 tags that will do it.
{MONO()}...{MONO} - will allow you to set the font to monospaced.
{CODE()}...{CODE} - is basically the <pre></pre> tag which keeps all formatting, but ignores any WiKi formatting.
Another option that can work is to put a space in front of a single line that you want to be monospaced. The WiKi will display the in a monospaced font and will treat all subsequent spaces as the & entity, so your spacing will be preserved. Any WiKi formatting that needs to be applied needs to start on column 1.
Using the CODE tag seems to be better, because it shrinks the font so more can fit on a page before horizontal scrolling starts.
I didn't knwo about the {CODE} modifiers... that's really good to know.. I've been putting -+text+- on everyline of sourcecode so far and it's been a pain (although it's not all that much yet :roll: ),