Home | Sitemap | Last changes RSS Feed | Wiki help | Wiki tools | SandBox
Preferences | Page is locked | View source | Page history | Referrers
Document last modified: Mon, 06 Sep 2004, 00:55 UTC
Parents: WikiHelp/

Wiki Help/Wiki Source Code

Sometimes you need to dump larger amounts of text exactly as it is. This occurs most often when you need to present some kind of source code.

In order to do this, enclose the text in <code> and </code> tags. But you have to place each of them at the beginning of its own line. Having any other character between them and the start of the line will deactivate them.

Inside this kind of text, all /TextFormattingRules are disabled.

Code text will be rendered in a box marked in a certain way, and with monospace characters. This is different from the /WikiBackticks which render the text normally (they just disable formatting).

Example:

<code>
// This is source code
void main(void) {
return(0);
}
</code>

Will be rendered as:

// This is source code
void main(void) {
    return(0);
}

eXTReMe Tracker Hosted by SourceForge.net
Document last modified: Mon, 06 Sep 2004, 00:55 UTC
Home | Sitemap | Last changes RSS Feed | Wiki help | Wiki tools | SandBox
Preferences | Page is locked | View source | Page history | Referrers
Hosted by SourceForge. Powered by Wikki Tikki Tavi. About the website. Terms of use.