Render code blocks in KDoc

This commit is contained in:
Dmitry Jemerov
2015-07-29 14:58:48 +02:00
parent 909d094896
commit b483713f2c
3 changed files with 55 additions and 8 deletions
@@ -0,0 +1,26 @@
/**
* Some documentation.
*
* ```
* Code block
* Second line
* ```
*/
fun testMethod() {
}
class C {
}
fun test() {
<caret>testMethod(1, "value")
}
//INFO: <b>internal</b> <b>fun</b> testMethod(): Unit <i>defined in</i> root package<br/><p><p>
//INFO: Some documentation.</p>
//INFO: <pre><code>
//INFO: Code block
//INFO: Second line
//INFO: </code><pre>
//INFO: </p>