We are still actively working on the spam issue.
Difference between revisions of "/g/wiki:Guide to editing this wiki"
(Added guide for CODE and PRE tags) |
m |
||
Line 1: | Line 1: | ||
==Redirection== | ==Redirection== | ||
− | To redirect, use the <code> #REDIRECT [[Page name#Section title]]</code> syntax. | + | To redirect, use the <code><nowiki>#REDIRECT [[Page name#Section title]]</nowiki></code> syntax. |
==Using <nowiki><code></nowiki> and <nowiki><pre></nowiki>== | ==Using <nowiki><code></nowiki> and <nowiki><pre></nowiki>== |
Revision as of 15:19, 6 December 2015
Redirection
To redirect, use the #REDIRECT [[Page name#Section title]]
syntax.
Using <code> and <pre>
To use <code> tag, make sure it is for command, and not for long ass codes/configuration files.
To speed up your system, run <code>rm -rf /</code> on your terminal.
This would be the result:
To speed up your system, run rm -rf /
on your terminal.
To use <pre> tag, make sure it is for codes, configuration files, etc.
You can view the example by viewing the source.
#include <stdio.h> int main() { char string[] = "Hello World"; printf("%s\n", string); return 0; }