In JavaDoc you can add an image like this:
/**
* ...The following legend explains these diagrams:
* <img width="640" height="577" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.png" alt="">
*/
public class Test {
}
How can I achieve the same thing in Kotlin Kdoc?
If you are looking to see the preview image of the link in Android Studio then @see
will load and show it :
/**
* @see <img src="https://raw.githubusercontent.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.png"/>
*/