Skip to content
Snippets Groups Projects
Verified Commit 5fe76a4f authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Removed placeholder content

parent 7fc820da
No related branches found
No related tags found
No related merge requests found
Pipeline #288 failed
...@@ -3,63 +3,4 @@ ...@@ -3,63 +3,4 @@
Welcome to the Quasseldroid documentation! Welcome to the Quasseldroid documentation!
!!! danger !!! danger
The documentation is still being worked on, currently all content is placeholder content. The documentation is still being worked on.
\ No newline at end of file
## Examples
### Text example
This is an example for a normal text.
### Code example
```kotlin
package de.kuschku.libquassel.util.irc
object HostmaskHelper {
fun nick(mask: String): String {
val (nick, _, _) = split(mask)
return nick
}
fun user(mask: String): String {
val (_, user, _) = split(mask)
return user
}
fun host(mask: String): String {
val (_, _, host) = split(mask)
return host
}
fun split(mask: String): Triple<String, String, String> {
val userPartHostSplit = mask.split("@", limit = 2)
if (userPartHostSplit.size < 2)
return Triple(mask, "", "")
val (userPart, host) = userPartHostSplit
val nickUserSplit = userPart.split('!', limit = 2)
if (nickUserSplit.size < 2)
return Triple(mask, "", host)
val (nick, user) = nickUserSplit
return Triple(nick, user, host)
}
}
```
### Inline Code Example
This is inline `#!js var test=0;` code highlighting.
### Formula Example
$$
Y = \lambda f.(\lambda x.f(x x)) (\lambda x.f (x x))
$$
### Inline Formula Example
This is the y combinator $Y = \lambda f.(\lambda x.f(x x)) (\lambda x.f (x x))$.
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment