We are still actively working on the spam issue.

Difference between revisions of "/g/wiki:Guide to editing this wiki"

From InstallGentoo Wiki
Jump to: navigation, search
(Added guide for CODE and PRE tags)
m (fix double redirect)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
==Redirection==
+
#REDIRECT [[Help:Editing]]
 
 
To redirect, use the <code> #REDIRECT [[Page name#Section title]]</code> syntax.
 
 
 
==Using <nowiki><code></nowiki> and <nowiki><pre></nowiki>==
 
 
 
To use <nowiki><code></nowiki> tag, make sure it is for command, and not for long ass codes/configuration files.
 
 
 
<pre>
 
To speed up your system, run <code>rm -rf /</code> on your terminal.
 
</pre>
 
 
 
This would be the result:
 
 
 
To speed up your system, run <code>rm -rf /</code> on your terminal.
 
 
 
---------------
 
 
 
To use <nowiki><pre></nowiki> tag, make sure it is for codes, configuration files, etc.
 
 
 
You can view the example by viewing the source.
 
 
 
<pre>
 
#include <stdio.h>
 
 
int main()
 
{
 
  char string[] = "Hello World";
 
  printf("%s\n", string);
 
  return 0;
 
}
 
</pre>
 

Latest revision as of 13:14, 24 February 2016

Redirect to: