在JavaDoc中,我可以将一个超链接表示为@see <a href="http://google.com">http://google.com</a>
.在Kotlin 怎么能做到这一点呢?
在JavaDoc中,我可以将一个超链接表示为@see <a href="http://google.com">http://google.com</a>
.在Kotlin 怎么能做到这一点呢?
Well, actually, hyperlinks and @see
tags are two separate matters in KDoc, meaning that @see
is only limited to API references:
/**
* @see [Object.toString]
*/
class C
Hyperlinks per se use the regular Markdown syntax (but, unlike JavaDoc, can't be mixed with @see
tags):
/**
* **See Also:** [Google](http://google.com)
*/
class C