Difference between revisions of "Formatting"

From berki WIKI
Jump to: navigation, search
(Subscript)
(Subscript)
Line 76: Line 76:
  
  
=Subscript=
+
=Sup and subscript=
  
 
w<sup>2</sup>
 
w<sup>2</sup>
Line 85: Line 85:
  
 
w<sub>2</sub>
 
w<sub>2</sub>
 +
<pre>
 +
w<sub>2</sub>
 +
</pre>

Revision as of 16:39, 4 November 2018


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

színes szöveg

<span style="color: red>
színes szöveg
</span>


Struck out

<s>Struck out</s>


Inserted

<ins>Inserted</ins>


Sup and subscript

w2

w<sup>2</sup>


w2

w<sub>2</sub>