hello friends! new(ish)!

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

From InstallGentoo Wiki v2
Jump to navigation Jump to search
>Morpheus
Added guide for CODE and PRE tags
>Mrsnooze
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 11:14, 24 February 2016

Redirect to: