Difference between revisions of "Formatting"
From berki WIKI
(→Code block) |
|||
Line 106: | Line 106: | ||
<pre> | <pre> | ||
w<sub>2</sub> | w<sub>2</sub> | ||
+ | </pre> | ||
+ | |||
+ | =Talbes= | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! scope="col"| Item | ||
+ | ! scope="col"| Quantity | ||
+ | ! scope="col"| Price | ||
+ | |- | ||
+ | ! scope="row"| Bread | ||
+ | | 0.3 kg | ||
+ | | $0.65 | ||
+ | |- | ||
+ | ! scope="row"| Butter | ||
+ | | 0.125 kg | ||
+ | | $1.25 | ||
+ | |- | ||
+ | ! scope="row" colspan="2"| Total | ||
+ | | $1.90 | ||
+ | |} | ||
+ | |||
+ | <pre> | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! scope="col"| Item | ||
+ | ! scope="col"| Quantity | ||
+ | ! scope="col"| Price | ||
+ | |- | ||
+ | ! scope="row"| Bread | ||
+ | | 0.3 kg | ||
+ | | $0.65 | ||
+ | |- | ||
+ | ! scope="row"| Butter | ||
+ | | 0.125 kg | ||
+ | | $1.25 | ||
+ | |- | ||
+ | ! scope="row" colspan="2"| Total | ||
+ | | $1.90 | ||
+ | |} | ||
</pre> | </pre> |
Revision as of 19:30, 1 April 2019
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>
2 InitializeLoginResponse initializeLoginResponse = client.target(baseUrl).path("login").request(MediaType.APPLICATION_JSON)
3 .post(Entity.json(initializeLoginRequest), InitializeLoginResponse.class);
4
5 some line
6 some more lines
7 and even more lines
8
9 some text
<source lang="java" line start="2" highlight="4-6"> ... 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>
Talbes
Item | Quantity | Price |
---|---|---|
Bread | 0.3 kg | $0.65 |
Butter | 0.125 kg | $1.25 |
Total | $1.90 |
{| class="wikitable" |- ! scope="col"| Item ! scope="col"| Quantity ! scope="col"| Price |- ! scope="row"| Bread | 0.3 kg | $0.65 |- ! scope="row"| Butter | 0.125 kg | $1.25 |- ! scope="row" colspan="2"| Total | $1.90 |}