Render code blocks in KDoc
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user