This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
wiki_playground [2012/11/30 13:10] prokop |
wiki_playground [2012/11/30 13:14] prokop |
||
---|---|---|---|
Line 50: | Line 50: | ||
You can add footnotes ((This is a footnote)) by using double parentheses. | You can add footnotes ((This is a footnote)) by using double parentheses. | ||
+ | <code> | ||
+ | This is preformatted code all spaces are preserved: like <-this | ||
+ | </code> | ||
+ | <file> | ||
+ | This is pretty much the same, but you could use it to show that you quoted a file. | ||
+ | </file> | ||
+ | |||
+ | |||
+ | <code java> | ||
+ | /** | ||
+ | * The HelloWorldApp class implements an application that | ||
+ | * simply displays "Hello World!" to the standard output. | ||
+ | */ | ||
+ | class HelloWorldApp { | ||
+ | public static void main(String[] args) { | ||
+ | System.out.println("Hello World!"); //Display the string. | ||
+ | } | ||
+ | } | ||
+ | </code> | ||
+ | |||
+ | |||
+ | <file php myexample.php> | ||
+ | php echo "hello world!"; | ||
+ | </file> |