Difference between revisions of "Template files"
From EditPlus Wiki
(d) |
|||
Line 6: | Line 6: | ||
To avoid wiki formating just wrap the code with | To avoid wiki formating just wrap the code with | ||
− | & | + | <b><nowiki><pre> </pre></nowiki></b><br> |
When you type this:<br> | When you type this:<br> | ||
Line 49: | Line 49: | ||
: [[User:Glia|glia]] 15:02, 28 Nov 2004 (EST) | : [[User:Glia|glia]] 15:02, 28 Nov 2004 (EST) | ||
− |
Revision as of 14:04, 10 February 2006
I would add some code here, but I can't figure out how to add code without wiki formating it.
(see the discussion page for this page. --Justinsomnia 01:42, 26 Oct 2004 (EDT))
To avoid wiki formating just wrap the code with
<pre> </pre>
When you type this:
<pre>
- your formated
- code
- example
</pre>
You get this:
your formated code example
For example:
#include <stdio.h> int main(int argc, char *argv[]) { printf("Hello, world\n"); ^! return 0; }
- glia 15:02, 28 Nov 2004 (EST)