1 package p 2 3 /** 4 * See that `inline code` here 5 * 6 * Some full code-block 7 * ```Kotlin 8 * println(foo()) // Prints 42 9 * println(foo() - 10) // Prints 32 10 * ``` 11 * 12 * Some indented code-block 13 * fun ref() = foo() 14 * val a = 2 15 * 16 * @sample p.sample 17 */ foonull18fun foo(): Int { 19 return 42 20 } 21 22 samplenull23fun sample() { 24 println(foo()) // Answer unlimate question of all 25 println(foo() * 2) // 84! 26 }