Difference between revisions of "Formatting"

From berki WIKI
Jump to: navigation, search
(Boxes)
Line 2: Line 2:
  
 
= Boxes =
 
= Boxes =
 +
  
 
=== Warning ===
 
=== Warning ===
Line 8: Line 9:
 
{{warning|..text...}}
 
{{warning|..text...}}
 
</pre>
 
</pre>
 +
  
 
=== Note ===
 
=== Note ===
Line 14: Line 16:
 
{{note|..text...}}
 
{{note|..text...}}
 
</pre>
 
</pre>
 +
  
 
=== Tip ===
 
=== Tip ===
Line 20: Line 23:
 
{{tip|..text...}}
 
{{tip|..text...}}
 
</pre>
 
</pre>
 +
  
 
=== Code block ===
 
=== Code block ===
Line 36: Line 40:
 
</source>
 
</source>
 
</pre>
 
</pre>
 +
  
 
=== No format ===
 
=== No format ===
 
<pre>This is an unformatted text</pre>
 
<pre>This is an unformatted text</pre>
 
<pre>
 
<pre>
<pre>... text ...</pre>
+
&lt;pre>... text ...&lt;/pre>
 
</pre>
 
</pre>
 +
 +
  
 
= Text formatting =
 
= Text formatting =

Revision as of 18:04, 8 September 2016


Boxes

Warning

WarningIcon.png

Warning
....text...

{{warning|..text...}}


Note

ImportantIcon.png

Note
....text...

{{note|..text...}}


Tip

TipIcon.png

Tip
....text...

{{tip|..text...}}


Code block

class ForDemo {
    public static void main(String[] args){
         for(int i=1; i<11; i++){
              System.out.println("Count is: " + i);
         }
    }
}
<source lang="java">
... code ..
</source>


No format

This is an unformatted text
<pre>... text ...</pre>


Text formatting