Difference between revisions of "Formatting"

From berki WIKI
Jump to: navigation, search
(Piros szöveg)
(Text formatting)
Line 73: Line 73:
 
<pre>
 
<pre>
 
<ins>Inserted</ins>
 
<ins>Inserted</ins>
 +
</pre>
 +
 +
 +
=Subscript=
 +
 +
w<sup>2</sup>
 +
<pre>
 +
w<sup>2</sup>
 
</pre>
 
</pre>

Revision as of 16:37, 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>


Subscript

w2

w<sup>2</sup>