Difference between revisions of "Formatting"

From berki WIKI
Jump to: navigation, search
(Subscript)
(Code block)
Line 41: Line 41:
 
</pre>
 
</pre>
  
 +
 +
 +
<source lang="java" line start="2" highlight="4-6">
 +
 +
InitializeLoginResponse initializeLoginResponse = client.target(baseUrl).path("login").request(MediaType.APPLICATION_JSON)
 +
.post(Entity.json(initializeLoginRequest), InitializeLoginResponse.class);
 +
 +
some line
 +
some more lines
 +
and even more lines
 +
 +
some text
 +
 +
</source>
 +
<pre>
 +
<source lang="java" line start="2" highlight="4-6">
 +
... code ..
 +
</source>
 +
</pre>
  
 
=== No format ===
 
=== No format ===

Revision as of 11:27, 16 February 2019


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>


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>