Difference between revisions of "Formatting"
From berki WIKI
(→Text formatting) |
(→Subscript) |
||
Line 82: | Line 82: | ||
w<sup>2</sup> | w<sup>2</sup> | ||
</pre> | </pre> | ||
+ | |||
+ | |||
+ | w<sub>2</sub> |
Revision as of 16:38, 4 November 2018
Contents
Boxes
Warning
Warning
....text...
{{warning|..text...}}
Note
Note
....text...
{{note|..text...}}
Tip
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>
w2